summaryrefslogtreecommitdiffstats
path: root/gst/valve
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2007-11-21 20:08:58 +0000
committerEdward Hervey <bilboed@bilboed.com>2009-02-17 19:29:59 +0100
commit8d8c9adf3024acef39862d8938532f9697490350 (patch)
treee6a88f8dddb2f1d2876ee7fdf325089f4d6ba87e /gst/valve
parentf6fb98f627d4692ce4f3c8fa2c0436a5ebbe2db7 (diff)
downloadgst-plugins-bad-8d8c9adf3024acef39862d8938532f9697490350.tar.gz
gst-plugins-bad-8d8c9adf3024acef39862d8938532f9697490350.tar.bz2
gst-plugins-bad-8d8c9adf3024acef39862d8938532f9697490350.zip
[MOVED FROM GST-P-FARSIGHT] Only set passthrough to TRUE on newer versions of gst
20071121200858-3e2dc-b16cdeabbc3c0562c6fc7b11b9b9792c910f569e.gz
Diffstat (limited to 'gst/valve')
-rw-r--r--gst/valve/gstvalve.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/valve/gstvalve.c b/gst/valve/gstvalve.c
index d05dbcc9..4ff7f347 100644
--- a/gst/valve/gstvalve.c
+++ b/gst/valve/gstvalve.c
@@ -139,7 +139,9 @@ gst_valve_init (GstValve *valve, GstValveClass *klass)
valve->drop = 0;
+#if GST_VERSION_MINOR >= 10 && GST_VERSION_MICRO >= 13
gst_base_transform_set_passthrough ((GstBaseTransform *)valve, TRUE);
+#endif
}