[gst-cvs] gst-plugins-good: Fix the field dominance

David Schleef ds at kemper.freedesktop.org
Fri Feb 27 23:30:50 PST 2009


Module: gst-plugins-good
Branch: master
Commit: 9f3ad53ca868ce4e33efac104d77391a3a0cf57b
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=9f3ad53ca868ce4e33efac104d77391a3a0cf57b

Author: David Schleef <ds at schleef.org>
Date:   Fri Feb 27 23:25:32 2009 -0800

Fix the field dominance

PAL is TFF, NTSC is BFF.  Some day I will learn to keep this
straight.

---

 ext/dv/gstdvdec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index fad43be..550b99d 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);





More information about the Gstreamer-commits mailing list