diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2020-07-04 12:32:26 -0400 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-07-22 16:01:25 +0000 |
commit | d10929da7c97074638b74424b720b9405e6d2cdb (patch) | |
tree | f8d085de2980b3560b139df66734d0ef33f2ce1a | |
parent | 871fa29639220a98952751e545d7555215874d37 (diff) | |
download | gstreamer-plugins-base-d10929da7c97074638b74424b720b9405e6d2cdb.tar.gz |
streamsplitter: Forward STREAM_START to all branchs
Otherwise the branch that get selected later won't receive it ever.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/751>
-rw-r--r-- | gst/encoding/gststreamsplitter.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/encoding/gststreamsplitter.c b/gst/encoding/gststreamsplitter.c index 4d2269807..71cb0ec5c 100644 --- a/gst/encoding/gststreamsplitter.c +++ b/gst/encoding/gststreamsplitter.c @@ -183,6 +183,9 @@ gst_stream_splitter_sink_event (GstPad * pad, GstObject * parent, GST_EVENT_TYPE_NAME (event)); switch (GST_EVENT_TYPE (event)) { + case GST_EVENT_STREAM_START: + toall = TRUE; + break; case GST_EVENT_CAPS: { GstCaps *caps; |