Commit bd65c36c authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

icydemux: Unref dropped events

parent 457712b9
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment