From 8dd9583357639b3731ab53618daa79b430ffbffe Mon Sep 17 00:00:00 2001 From: Zaheer Merali Date: Fri, 14 Aug 2009 13:34:53 +0100 Subject: dvdec: set bottom field first on PAL interlaced content, not top field first DV interlaced content is always bottom field first. Fixes #591712. --- ext/dv/gstdvdec.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ext/dv') diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c index 550b99d1..307b76e9 100644 --- a/ext/dv/gstdvdec.c +++ b/ext/dv/gstdvdec.c @@ -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); -- cgit