From 8d8c9adf3024acef39862d8938532f9697490350 Mon Sep 17 00:00:00 2001 From: Olivier Crete Date: Wed, 21 Nov 2007 20:08:58 +0000 Subject: [MOVED FROM GST-P-FARSIGHT] Only set passthrough to TRUE on newer versions of gst 20071121200858-3e2dc-b16cdeabbc3c0562c6fc7b11b9b9792c910f569e.gz --- gst/valve/gstvalve.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/valve') 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 } -- cgit v1.2.1