diff options
author | Olivier Crete <olivier.crete@collabora.co.uk> | 2007-11-21 18:17:29 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-02-17 19:29:59 +0100 |
commit | f6fb98f627d4692ce4f3c8fa2c0436a5ebbe2db7 (patch) | |
tree | 3476357280ec050af091136d07b9a3ecee82d6a4 /gst | |
parent | 17639a3e824ff00133c1cad81871e52b4a667021 (diff) | |
download | gst-plugins-bad-f6fb98f627d4692ce4f3c8fa2c0436a5ebbe2db7.tar.gz gst-plugins-bad-f6fb98f627d4692ce4f3c8fa2c0436a5ebbe2db7.tar.bz2 gst-plugins-bad-f6fb98f627d4692ce4f3c8fa2c0436a5ebbe2db7.zip |
[MOVED FROM GST-P-FARSIGHT] Compare minor, not major
20071121181729-3e2dc-a5997c3b7f5c86966370969714facf8ee242659d.gz
Diffstat (limited to 'gst')
-rw-r--r-- | gst/valve/gstvalve.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gst/valve/gstvalve.c b/gst/valve/gstvalve.c index e33a716f..d05dbcc9 100644 --- a/gst/valve/gstvalve.c +++ b/gst/valve/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; |