mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
matroskademux: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=709266
This commit is contained in:
parent
e779b6587b
commit
30f62a2eec
1 changed files with 1 additions and 1 deletions
|
@ -3468,7 +3468,7 @@ gst_matroska_demux_parse_blockgroup_or_simpleblock (GstMatroskaDemux * demux,
|
|||
segment_event = gst_event_new_segment (segment);
|
||||
if (demux->segment_seqnum)
|
||||
gst_event_set_seqnum (segment_event, demux->segment_seqnum);
|
||||
gst_matroska_demux_send_event (demux, gst_event_new_segment (segment));
|
||||
gst_matroska_demux_send_event (demux, segment_event);
|
||||
demux->need_segment = FALSE;
|
||||
demux->segment_seqnum = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue