summaryrefslogtreecommitdiffstats
path: root/ext/dv
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-02-27 23:25:32 -0800
committerDavid Schleef <ds@schleef.org>2009-02-27 23:26:40 -0800
commit9f3ad53ca868ce4e33efac104d77391a3a0cf57b (patch)
tree36442be72d31b6e206a548645ce44c45740e0e45 /ext/dv
parent27d1ef8a865449346a8c88faa0273983f64cff8d (diff)
Fix the field dominance
PAL is TFF, NTSC is BFF. Some day I will learn to keep this straight.
Diffstat (limited to 'ext/dv')
-rw-r--r--ext/dv/gstdvdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index fad43be2..550b99d1 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -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);