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.
This commit is contained in:
parent
0c490f1ce6
commit
8b94cd3934
@ -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)) &&
|
if ((stat_slice > 4 || (stat_dpa > 4 && stat_dpb > 4 && stat_dpc > 4)) &&
|
||||||
stat_idr >= 1 && stat_sps >= 1 && stat_pps >= 1) {
|
stat_idr >= 1 && stat_sps >= 1 && stat_pps >= 1) {
|
||||||
gst_type_find_suggest (tf, GST_TYPE_FIND_NEARLY_CERTAIN,
|
gst_type_find_suggest (tf, GST_TYPE_FIND_LIKELY, H264_VIDEO_CAPS);
|
||||||
H264_VIDEO_CAPS);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user