mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
typefindfunctions: minor cosmetic change
Don't write < 1 when we mean == 0.
This commit is contained in:
parent
beacccc396
commit
dc08c01935
1 changed files with 1 additions and 2 deletions
|
@ -2451,9 +2451,8 @@ h264_video_type_find (GstTypeFind * tf, gpointer unused)
|
||||||
data_scan_ctx_advance (tf, &c, 1);
|
data_scan_ctx_advance (tf, &c, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (good >= 2 && bad < 1) {
|
if (good >= 2 && bad == 0) {
|
||||||
gst_type_find_suggest (tf, GST_TYPE_FIND_POSSIBLE, H264_VIDEO_CAPS);
|
gst_type_find_suggest (tf, GST_TYPE_FIND_POSSIBLE, H264_VIDEO_CAPS);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue