diff options
author | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2023-06-12 18:48:54 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2023-06-13 15:49:06 +0300 |
commit | 4683291c1f6e84e373bc96410706ba689bf62e76 (patch) | |
tree | 40f7c106a4eced44acf4ac9217b9a5e81046ac69 /docs | |
parent | 6ad0db2cdbaf95e1ff5dd8be92983df42beca884 (diff) |
fallbackswitch: add 'stop-on-eos' property
Fix the following use case:
- main input of fallbackswitch is finite (a media file)
- fallback input is infinite (videotestsrc)
- main input is done and send eos, which is propagated downstream
- fallbackswitch switches to fallback, sending STREAM_START which reset
EOS downstream (aggregator does that)
- fallback input keeps pushing buffers forever.
Solve it by adding a 'stop-on-eos' property so fallbackswitch stops
pushing property once the main input is eos.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1242>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/plugins/gst_plugins_cache.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index a2c29724a..0e3cdc8c3 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -1584,6 +1584,18 @@ "type": "guint64", "writable": true }, + "stop-on-eos": { + "blurb": "Stop forwarding buffers as soon as one input pad is eos", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "false", + "mutable": "ready", + "readable": true, + "type": "gboolean", + "writable": true + }, "timeout": { "blurb": "Timeout on an input before switching to a lower priority input.", "conditionally-available": false, |