mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
video: Update for libgstvideo API changes
This commit is contained in:
parent
31857c8ded
commit
7fa3eb2605
1 changed files with 0 additions and 3 deletions
|
@ -886,9 +886,6 @@ handle_slice (GstMpeg2dec * mpeg2dec, const mpeg2_info_t * info)
|
||||||
}
|
}
|
||||||
mpeg2dec->next_time += GST_BUFFER_DURATION (outbuf);
|
mpeg2dec->next_time += GST_BUFFER_DURATION (outbuf);
|
||||||
|
|
||||||
if (!(picture->flags & PIC_FLAG_PROGRESSIVE_FRAME))
|
|
||||||
GST_BUFFER_FLAG_SET (outbuf, GST_VIDEO_BUFFER_FLAG_INTERLACED);
|
|
||||||
|
|
||||||
if (picture->flags & PIC_FLAG_TOP_FIELD_FIRST)
|
if (picture->flags & PIC_FLAG_TOP_FIELD_FIRST)
|
||||||
GST_BUFFER_FLAG_SET (outbuf, GST_VIDEO_BUFFER_FLAG_TFF);
|
GST_BUFFER_FLAG_SET (outbuf, GST_VIDEO_BUFFER_FLAG_TFF);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue