diff --git a/gst/valve/gstvalve.c b/gst/valve/gstvalve.c index d05dbcc952..4ff7f347a9 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 }