mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
imagefreeze: don't fail sending sticky events downstream
They will be repropagated anyway.
This commit is contained in:
parent
5dcbb6b0d8
commit
28f49e1fd5
1 changed files with 4 additions and 1 deletions
|
@ -592,7 +592,10 @@ gst_image_freeze_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
gst_image_freeze_reset (self);
|
||||
/* fall through */
|
||||
default:
|
||||
ret = gst_pad_push_event (self->srcpad, event);
|
||||
ret = gst_pad_push_event (self->srcpad, gst_event_ref (event));
|
||||
if (GST_EVENT_IS_STICKY (event))
|
||||
ret = TRUE;
|
||||
gst_event_unref (event);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue