mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
pad: store the received result from _foreach
If the foreach function changes the received state of the sticky event, make sure we remember that.
This commit is contained in:
parent
a80581831e
commit
0054e6da9e
1 changed files with 3 additions and 0 deletions
|
@ -493,6 +493,9 @@ restart:
|
||||||
goto restart;
|
goto restart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* store the received state */
|
||||||
|
ev->received = ev_ret.received;
|
||||||
|
|
||||||
/* if the event changed, we need to do something */
|
/* if the event changed, we need to do something */
|
||||||
if (G_UNLIKELY (ev->event != ev_ret.event)) {
|
if (G_UNLIKELY (ev->event != ev_ret.event)) {
|
||||||
if (G_UNLIKELY (ev_ret.event == NULL)) {
|
if (G_UNLIKELY (ev_ret.event == NULL)) {
|
||||||
|
|
Loading…
Reference in a new issue