gst/typefind/gsttypefindfunctions.c: The checks here are not even close to anything...
authorTim-Philipp Müller <tim@centricular.net>
Wed, 9 Aug 2006 14:42:58 +0000 (14:42 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 9 Aug 2006 14:42:58 +0000 (14:42 +0000)
Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
The checks here are not even close to anything that would
justify MAXIMUM probability, lowering to POSSIBLE until someone
fixes the checks (case at hand: quicktime redirection files
might start with 00 00 01 XX and pass the checks here just
fine, see #350399).

ChangeLog
gst/typefind/gsttypefindfunctions.c

index 1cadba0..03075b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
+         The checks here are not even close to anything that would
+         justify MAXIMUM probability, lowering to POSSIBLE until someone
+         fixes the checks (case at hand: quicktime redirection files
+         might start with 00 00 01 XX and pass the checks here just
+         fine, see #350399).
+
 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
 
        Patch by: Sjoerd Simons  <sjoerd at luon net>
index 157df08..bc7c2bc 100644 (file)
@@ -1024,7 +1024,7 @@ suggest:
 
     gst_structure_set (gst_caps_get_structure (caps, 0), "mpegversion",
         G_TYPE_INT, mpegversion, NULL);
-    gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, caps);
+    gst_type_find_suggest (tf, GST_TYPE_FIND_POSSIBLE, caps);
     gst_caps_unref (caps);
   }
 };