typefinding: lower the h264 typefinder's probability
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 25 Jun 2009 11:04:59 +0000 (12:04 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 25 Jun 2009 11:09:59 +0000 (12:09 +0100)
A NEARLY_CERTAIN is absolutely not warranted given the kind
of things it checks for. Even a LIKELY is probably not entirely
appropriate.

gst/typefind/gsttypefindfunctions.c

index 8c31607..9603ec6 100644 (file)
@@ -1743,8 +1743,7 @@ h264_video_type_find (GstTypeFind * tf, gpointer unused)
 
       if ((stat_slice > 4 || (stat_dpa > 4 && stat_dpb > 4 && stat_dpc > 4)) &&
           stat_idr >= 1 && stat_sps >= 1 && stat_pps >= 1) {
-        gst_type_find_suggest (tf, GST_TYPE_FIND_NEARLY_CERTAIN,
-            H264_VIDEO_CAPS);
+        gst_type_find_suggest (tf, GST_TYPE_FIND_LIKELY, H264_VIDEO_CAPS);
         return;
       }