ivtc: quiet FIXME when it's not relevant
authorDavid Schleef <ds@schleef.org>
Wed, 31 Jul 2013 18:56:39 +0000 (11:56 -0700)
committerDavid Schleef <ds@schleef.org>
Sun, 4 Aug 2013 06:29:10 +0000 (23:29 -0700)
gst/ivtc/gstivtc.c

index a377537..13f3c62 100644 (file)
@@ -253,7 +253,9 @@ gst_ivtc_sink_event (GstBaseTransform * trans, GstEvent * event)
 static void
 gst_ivtc_flush (GstIvtc * ivtc)
 {
-  GST_FIXME_OBJECT (ivtc, "not sending flushed fields to srcpad");
+  if (ivtc->n_fields > 0) {
+    GST_FIXME_OBJECT (ivtc, "not sending flushed fields to srcpad");
+  }
 
   gst_ivtc_retire_fields (ivtc, ivtc->n_fields);
 }