typefinding: fix ADTS caps stream-format detail
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 14 Oct 2010 15:36:30 +0000 (16:36 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 14 Oct 2010 15:46:44 +0000 (16:46 +0100)
Field should be "stream-format", not "stream-type".

gst/typefind/gsttypefindfunctions.c

index dbe4cd4..030f7af 100644 (file)
@@ -728,7 +728,7 @@ aac_type_find (GstTypeFind * tf, gpointer unused)
         caps = gst_caps_new_simple ("audio/mpeg",
             "framed", G_TYPE_BOOLEAN, FALSE,
             "mpegversion", G_TYPE_INT, mpegversion,
-            "stream-type", G_TYPE_STRING, "adts", NULL);
+            "stream-format", G_TYPE_STRING, "adts", NULL);
 
         gst_codec_utils_aac_caps_set_level_and_profile (caps, audio_config, 2);