projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
401cadf
)
decodebin3: Don't forward already-handling SELECT_STREAMS
author
Edward Hervey
<edward@centricular.com>
Fri, 10 Nov 2017 14:01:04 +0000
(15:01 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Sat, 10 Feb 2018 11:17:38 +0000
(12:17 +0100)
Upstream might respond negatively to the event, whereas we actually
handled it.
gst/playback/gstdecodebin3.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstdecodebin3.c
b/gst/playback/gstdecodebin3.c
index
3f09a1c
..
8d6ea53
100644
(file)
--- a/
gst/playback/gstdecodebin3.c
+++ b/
gst/playback/gstdecodebin3.c
@@
-2541,6
+2541,8
@@
ghost_pad_event_probe (GstPad * pad, GstPadProbeInfo * info,
SELECTION_UNLOCK (dbin);
GST_DEBUG_OBJECT (pad,
"Already handled/handling that SELECT_STREAMS event");
+ gst_event_unref (event);
+ ret = GST_PAD_PROBE_HANDLED;
break;
}
dbin->select_streams_seqnum = seqnum;