mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
[MOVED FROM GST-P-FARSIGHT] Only set passthrough to TRUE on newer versions of gst
20071121200858-3e2dc-b16cdeabbc3c0562c6fc7b11b9b9792c910f569e.gz
This commit is contained in:
parent
f6fb98f627
commit
8d8c9adf30
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue