fsvalve: Only set passthrough to TRUE on newer versions of gst

20071121200858-3e2dc-b16cdeabbc3c0562c6fc7b11b9b9792c910f569e.gz
This commit is contained in:
Olivier Crete 2007-11-21 20:08:58 +00:00 committed by Tim-Philipp Müller
parent 51af047576
commit 67c6adaf31

View file

@ -139,7 +139,9 @@ gst_valve_init (GstValve *valve, GstValveClass *klass)
valve->drop = 0; valve->drop = 0;
#if GST_VERSION_MINOR >= 10 && GST_VERSION_MICRO >= 13
gst_base_transform_set_passthrough ((GstBaseTransform *)valve, TRUE); gst_base_transform_set_passthrough ((GstBaseTransform *)valve, TRUE);
#endif
} }