diff -ru gst-plugins-base-0.10.32.orig/gst-libs/gst/riff/riff-media.c src/gst-libs/gst/riff/riff-media.c
--- gst-plugins-base-0.10.32.orig/gst-libs/gst/riff/riff-media.c	2012-06-28 21:25:07.216182543 +0200
+++ src/gst-libs/gst/riff/riff-media.c	2012-07-13 17:27:22.904910184 +0200
@@ -1603,6 +1603,18 @@
             *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 &&
