decklinkvideosrc: Fix AFD/Bar VANC size check

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2193>
This commit is contained in:
Sebastian Dröge 2021-04-26 18:00:27 +03:00 committed by GStreamer Marge Bot
parent 56af02f9c8
commit f1ec6ddd5e

View file

@ -1010,7 +1010,7 @@ extract_vbi_line (GstDecklinkVideoSrc * self, GstBuffer ** buffer,
"Adding AFD/Bar meta to buffer for line %u", field2_offset + line);
GST_MEMDUMP_OBJECT (self, "AFD/Bar", gstanc.data, gstanc.data_count);
if (gstanc.data_count < 16) {
if (gstanc.data_count < 8) {
GST_WARNING_OBJECT (self, "AFD/Bar data too small");
continue;
}