rtspsrc: unref the event in element seek handler

This commit is contained in:
Mathieu Duponchelle 2019-07-01 13:54:13 +02:00
parent bcd367b81d
commit 33277da781

View file

@ -8964,6 +8964,7 @@ gst_rtspsrc_send_event (GstElement * element, GstEvent * event)
if (GST_EVENT_TYPE (event) == GST_EVENT_SEEK) {
res = gst_rtspsrc_perform_seek (rtspsrc, event);
gst_event_unref (event);
} else if (GST_EVENT_IS_DOWNSTREAM (event)) {
res = gst_rtspsrc_push_event (rtspsrc, event);
} else {