--- a/gst-libs/gst/riff/riff-media.c
+++ b/gst-libs/gst/riff/riff-media.c
@@ -1654,6 +1654,18 @@ gst_riff_create_audio_caps (guint16 codec_id,
             *codec_name = g_strdup ("Mu-law audio");
         } else if (subformat_guid[0] == 0x00000092) {
           GST_DEBUG ("FIXME: handle DOLBY AC3 SPDIF format");
+        } else if (subformat_guid[0] == GST_RIFF_WAVE_FORMAT_A52) {
+          channels_max = 6;
+          rate_max = 48000;
+          caps = gst_caps_new_simple ("audio/x-ac3", NULL);
+          if (codec_name)
+            *codec_name = g_strdup ("Dolby Digital");
+        } else if (subformat_guid[0] == GST_RIFF_WAVE_FORMAT_DTS) {
+          channels_max = 6;
+          rate_max = 48000;
+          caps = gst_caps_new_simple ("audio/x-dts", NULL);
+          if (codec_name)
+            *codec_name = g_strdup ("DTS");
         }
       } else if (subformat_guid[0] == 0x6ba47966 &&
           subformat_guid[1] == 0x41783f83 &&
