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:
a805818
)
pad: store the received result from _foreach
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 9 Mar 2012 10:52:29 +0000
(11:52 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 9 Mar 2012 10:52:29 +0000
(11:52 +0100)
If the foreach function changes the received state of the sticky event, make
sure we remember that.
gst/gstpad.c
patch
|
blob
|
history
diff --git
a/gst/gstpad.c
b/gst/gstpad.c
index
26e5175
..
98ec68c
100644
(file)
--- a/
gst/gstpad.c
+++ b/
gst/gstpad.c
@@
-493,6
+493,9
@@
restart:
goto restart;
}
+ /* store the received state */
+ ev->received = ev_ret.received;
+
/* if the event changed, we need to do something */
if (G_UNLIKELY (ev->event != ev_ret.event)) {
if (G_UNLIKELY (ev_ret.event == NULL)) {