mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
rtspsrc: unref the event in element seek handler
This commit is contained in:
parent
bcd367b81d
commit
33277da781
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue