Fix the field dominance

PAL is TFF, NTSC is BFF.  Some day I will learn to keep this
straight.
This commit is contained in:
David Schleef 2009-02-27 23:25:32 -08:00
parent 27d1ef8a86
commit 9f3ad53ca8

View file

@ -469,9 +469,9 @@ gst_dvdec_chain (GstPad * pad, GstBuffer * buf)
e_dv_color_yuv, outframe_ptrs, outframe_pitches);
if (dvdec->PAL) {
GST_BUFFER_FLAG_UNSET (outbuf, GST_VIDEO_BUFFER_TFF);
} else {
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);