Fix the field dominance
PAL is TFF, NTSC is BFF. Some day I will learn to keep this straight.
This commit is contained in:
parent
27d1ef8a86
commit
9f3ad53ca8
@ -469,9 +469,9 @@ gst_dvdec_chain (GstPad * pad, GstBuffer * buf)
|
|||||||
e_dv_color_yuv, outframe_ptrs, outframe_pitches);
|
e_dv_color_yuv, outframe_ptrs, outframe_pitches);
|
||||||
|
|
||||||
if (dvdec->PAL) {
|
if (dvdec->PAL) {
|
||||||
GST_BUFFER_FLAG_UNSET (outbuf, GST_VIDEO_BUFFER_TFF);
|
|
||||||
} else {
|
|
||||||
GST_BUFFER_FLAG_SET (outbuf, GST_VIDEO_BUFFER_TFF);
|
GST_BUFFER_FLAG_SET (outbuf, GST_VIDEO_BUFFER_TFF);
|
||||||
|
} else {
|
||||||
|
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user