typefinding: set framed=false on DTS caps
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 13 Jan 2011 13:59:41 +0000 (13:59 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 13 Jan 2011 13:59:41 +0000 (13:59 +0000)
gst/typefind/gsttypefindfunctions.c

index 66a5275..373df08 100644 (file)
@@ -1432,10 +1432,11 @@ dts_type_find (GstTypeFind * tf, gpointer unused)
 
       if (chans > 0) {
         gst_type_find_suggest_simple (tf, prob, "audio/x-dts",
-            "rate", G_TYPE_INT, rate, "channels", G_TYPE_INT, chans, NULL);
+            "rate", G_TYPE_INT, rate, "channels", G_TYPE_INT, chans,
+            "framed", G_TYPE_BOOLEAN, FALSE, NULL);
       } else {
         gst_type_find_suggest_simple (tf, prob, "audio/x-dts",
-            "rate", G_TYPE_INT, rate, NULL);
+            "rate", G_TYPE_INT, rate, "framed", G_TYPE_BOOLEAN, FALSE, NULL);
       }
 
       return;