decklinkvideosrc: Also set the INTERLACED buffer flag on non-TFF buffers

This commit is contained in:
Sebastian Dröge 2019-08-07 12:58:03 +03:00 committed by Sebastian Dröge
parent 7dbcddff61
commit 2b3a14ff4e

View file

@ -1330,6 +1330,8 @@ retry:
if (mode->interlaced && mode->tff)
GST_BUFFER_FLAG_SET (*buffer,
GST_VIDEO_BUFFER_FLAG_TFF | GST_VIDEO_BUFFER_FLAG_INTERLACED);
else if (mode->interlaced)
GST_BUFFER_FLAG_SET (*buffer, GST_VIDEO_BUFFER_FLAG_INTERLACED);
GST_DEBUG_OBJECT (self,
"Outputting buffer %p with timestamp %" GST_TIME_FORMAT " and duration %"