typefinding: fix postscript typefinder probability
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 6 Aug 2009 08:55:42 +0000 (09:55 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 6 Aug 2009 08:57:25 +0000 (09:57 +0100)
Two bytes for a rare format hardly warrants MAXIMUM typefinding
probability, POSSIBLE seems more appropriate.

gst/typefind/gsttypefindfunctions.c

index 31e1f58..6cef4fa 100644 (file)
@@ -1267,7 +1267,7 @@ postscript_type_find (GstTypeFind * tf, gpointer unused)
   if (data[0] == 0x04)
     data++;
   if (data[0] == '%' && data[1] == '!')
-    gst_type_find_suggest (tf, GST_TYPE_FIND_MAXIMUM, POSTSCRIPT_CAPS);
+    gst_type_find_suggest (tf, GST_TYPE_FIND_POSSIBLE, POSTSCRIPT_CAPS);
 
 }