mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
jitterbuffer: avoid leaking sink events
Avoid leaking the newsegment event when it has the wrong format.
This commit is contained in:
parent
acc37e52a7
commit
ffc7cd9803
1 changed files with 1 additions and 0 deletions
|
@ -1118,6 +1118,7 @@ newseg_wrong_format:
|
|||
{
|
||||
GST_DEBUG_OBJECT (jitterbuffer, "received non TIME newsegment");
|
||||
ret = FALSE;
|
||||
gst_event_unref (event);
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue