mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
fsvalve: Only set passthrough to TRUE on newer versions of gst
20071121200858-3e2dc-b16cdeabbc3c0562c6fc7b11b9b9792c910f569e.gz
This commit is contained in:
parent
51af047576
commit
67c6adaf31
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