dvdec: set bottom field first on PAL interlaced content, not top field first

DV interlaced content is always bottom field first. Fixes #591712.
This commit is contained in:
Zaheer Merali 2009-08-14 13:34:53 +01:00 committed by Tim-Philipp Müller
parent 10d41286d5
commit 8dd9583357

View file

@ -468,11 +468,7 @@ gst_dvdec_chain (GstPad * pad, GstBuffer * buf)
dv_decode_full_frame (dvdec->decoder, inframe,
e_dv_color_yuv, outframe_ptrs, outframe_pitches);
if (dvdec->PAL) {
GST_BUFFER_FLAG_SET (outbuf, GST_VIDEO_BUFFER_TFF);
} else {
GST_BUFFER_FLAG_UNSET (outbuf, GST_VIDEO_BUFFER_TFF);
}
GST_BUFFER_FLAG_UNSET (outbuf, GST_VIDEO_BUFFER_TFF);
GST_BUFFER_OFFSET (outbuf) = GST_BUFFER_OFFSET (buf);
GST_BUFFER_OFFSET_END (outbuf) = GST_BUFFER_OFFSET_END (buf);