diff options
author | Zaheer Merali <zaheerabbas@merali.org> | 2009-08-14 13:34:53 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-14 13:34:53 +0100 |
commit | 8dd9583357639b3731ab53618daa79b430ffbffe (patch) | |
tree | d8f2d5ed088b75d160ae5848f7ae01e2ae875559 /ext/dv | |
parent | 10d41286d5bf738a8a7f7537682958b085990e86 (diff) |
dvdec: set bottom field first on PAL interlaced content, not top field first
DV interlaced content is always bottom field first. Fixes #591712.
Diffstat (limited to 'ext/dv')
-rw-r--r-- | ext/dv/gstdvdec.c | 6 |
1 files changed, 1 insertions, 5 deletions
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); |