projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcd367b
)
rtspsrc: unref the event in element seek handler
author
Mathieu Duponchelle
<mathieu@centricular.com>
Mon, 1 Jul 2019 11:54:13 +0000
(13:54 +0200)
committer
Mathieu Duponchelle
<mathieu@centricular.com>
Mon, 1 Jul 2019 11:54:13 +0000
(13:54 +0200)
gst/rtsp/gstrtspsrc.c
patch
|
blob
|
history
diff --git
a/gst/rtsp/gstrtspsrc.c
b/gst/rtsp/gstrtspsrc.c
index
49523d7
..
e058b91
100644
(file)
--- a/
gst/rtsp/gstrtspsrc.c
+++ b/
gst/rtsp/gstrtspsrc.c
@@
-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 {