video: Update for libgstvideo API changes

This commit is contained in:
Sebastian Dröge 2012-04-19 12:22:08 +02:00
parent 31857c8ded
commit 7fa3eb2605

View file

@ -886,9 +886,6 @@ handle_slice (GstMpeg2dec * mpeg2dec, const mpeg2_info_t * info)
}
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)
GST_BUFFER_FLAG_SET (outbuf, GST_VIDEO_BUFFER_FLAG_TFF);