mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 13:02:29 +00:00
rtspsrc: fix major memory leak when playing back rtsp video streams
Don't forget to unref QoS, navigation and latency events when dropping them.
This commit is contained in:
parent
d0b25845ec
commit
24b93d82ec
1 changed files with 1 additions and 0 deletions
|
@ -1699,6 +1699,7 @@ gst_rtspsrc_handle_internal_src_event (GstPad * pad, GstEvent * event)
|
||||||
case GST_EVENT_NAVIGATION:
|
case GST_EVENT_NAVIGATION:
|
||||||
case GST_EVENT_LATENCY:
|
case GST_EVENT_LATENCY:
|
||||||
default:
|
default:
|
||||||
|
gst_event_unref (event);
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue