From 51af04757670660df6d821c23fc37cefda9c1013 Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Wed, 21 Nov 2007 18:17:29 +0000 Subject: [PATCH] fsvalve: Compare minor, not major 20071121181729-3e2dc-a5997c3b7f5c86966370969714facf8ee242659d.gz --- plugins/elements/gstvalve.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/elements/gstvalve.c b/plugins/elements/gstvalve.c index e33a716fdd..d05dbcc952 100644 --- a/plugins/elements/gstvalve.c +++ b/plugins/elements/gstvalve.c @@ -134,8 +134,7 @@ gst_valve_class_init (GstValveClass *klass) } static void -gst_valve_init (GstValve *valve, - GstValveClass *klass) +gst_valve_init (GstValve *valve, GstValveClass *klass) { valve->drop = 0; @@ -198,7 +197,7 @@ gst_valve_transform_ip (GstBaseTransform *trans, GstBuffer *buf) GST_OBJECT_LOCK (GST_OBJECT (trans)); if (valve->drop) { -#if GST_VERSION_MAJOR >= 10 && GST_VERSION_MICRO >= 13 +#if GST_VERSION_MINOR >= 10 && GST_VERSION_MICRO >= 13 ret = GST_BASE_TRANSFORM_FLOW_DROPPED; #endif buf = NULL;