From 8b94cd39349a97628bb2172b4388b43bd0dedb16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 25 Jun 2009 12:04:59 +0100 Subject: [PATCH] typefinding: lower the h264 typefinder's probability 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 8c31607552..9603ec6ce2 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -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; }