mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
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:
parent
10d41286d5
commit
8dd9583357
1 changed files with 1 additions and 5 deletions
|
@ -468,11 +468,7 @@ gst_dvdec_chain (GstPad * pad, GstBuffer * buf)
|
||||||
dv_decode_full_frame (dvdec->decoder, inframe,
|
dv_decode_full_frame (dvdec->decoder, inframe,
|
||||||
e_dv_color_yuv, outframe_ptrs, outframe_pitches);
|
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 (outbuf) = GST_BUFFER_OFFSET (buf);
|
||||||
GST_BUFFER_OFFSET_END (outbuf) = GST_BUFFER_OFFSET_END (buf);
|
GST_BUFFER_OFFSET_END (outbuf) = GST_BUFFER_OFFSET_END (buf);
|
||||||
|
|
Loading…
Reference in a new issue