[MOVED FROM GST-P-FARSIGHT] 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 Edward Hervey
parent f6fb98f627
commit 8d8c9adf30

View file

@ -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
}