mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
icydemux: Unref dropped events
This commit is contained in:
parent
457712b933
commit
bd65c36cbb
1 changed files with 4 additions and 1 deletions
|
@ -409,9 +409,12 @@ gst_icydemux_handle_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
|
||||
return gst_pad_event_default (pad, parent, event);
|
||||
default:
|
||||
if (!GST_EVENT_IS_STICKY (event))
|
||||
if (!GST_EVENT_IS_STICKY (event)) {
|
||||
icydemux->cached_events =
|
||||
g_list_append (icydemux->cached_events, event);
|
||||
} else {
|
||||
gst_event_unref (event);
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue