diff options
author | Seungha Yang <sh.yang@lge.com> | 2016-09-09 10:29:01 +0900 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2017-07-12 15:55:26 +0200 |
commit | 06cf7440ce28d42768b0a980d67fc6f53c6cb7b9 (patch) | |
tree | 85faa31ae45f85c2ed46aa823165733431590c2e /gst/playback/gstdecodebin3.c | |
parent | 8133f478a96602222a06ef2aec74fc9fa5e8a29e (diff) |
decodebin3: Don't send duplicated stream-start event
group-id in stream-start event might be updated in
parse_chain_output_probe (). This cause duplicated stream-start
twice with identical stream-id and seq-num, but only group-id is
different. Although there is no change, stream-start event will
be followed by the first buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=771088
Diffstat (limited to 'gst/playback/gstdecodebin3.c')
-rw-r--r-- | gst/playback/gstdecodebin3.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gst/playback/gstdecodebin3.c b/gst/playback/gstdecodebin3.c index 773f6246a..66ede8d98 100644 --- a/gst/playback/gstdecodebin3.c +++ b/gst/playback/gstdecodebin3.c @@ -1760,7 +1760,6 @@ get_slot_for_input (GstDecodebin3 * dbin, DecodebinInputStream * input) static void link_input_to_slot (DecodebinInputStream * input, MultiQueueSlot * slot) { - GstEvent *event; if (slot->input != NULL && slot->input != input) { GST_ERROR_OBJECT (slot->dbin, "Trying to link input to an already used slot"); @@ -1769,9 +1768,6 @@ link_input_to_slot (DecodebinInputStream * input, MultiQueueSlot * slot) gst_pad_link_full (input->srcpad, slot->sink_pad, GST_PAD_LINK_CHECK_NOTHING); slot->pending_stream = input->active_stream; slot->input = input; - event = gst_pad_get_sticky_event (input->srcpad, GST_EVENT_STREAM_START, 0); - if (event) - gst_pad_send_event (slot->sink_pad, event); } #if 0 |