mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
pad: fix event type check
This commit is contained in:
parent
66c88c1bb1
commit
bae0c4b0c6
1 changed files with 1 additions and 1 deletions
|
@ -3187,7 +3187,7 @@ push_sticky (GstPad * pad, PadEvent * ev, gpointer user_data)
|
||||||
/* not linked is not a problem, we are sticky so the event will be
|
/* not linked is not a problem, we are sticky so the event will be
|
||||||
* sent later but only for non-EOS events */
|
* sent later but only for non-EOS events */
|
||||||
GST_DEBUG_OBJECT (pad, "pad was not linked");
|
GST_DEBUG_OBJECT (pad, "pad was not linked");
|
||||||
if (GST_EVENT_TYPE (ev) != GST_EVENT_EOS)
|
if (GST_EVENT_TYPE (event) != GST_EVENT_EOS)
|
||||||
data->ret = GST_FLOW_OK;
|
data->ret = GST_FLOW_OK;
|
||||||
/* fallthrough */
|
/* fallthrough */
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue