summaryrefslogtreecommitdiffstats
path: root/gst/valve
diff options
context:
space:
mode:
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
}