mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
qtdemux: release extra event ref when replacing pending newsegment event
This commit is contained in:
parent
d0eed20428
commit
748304ced7
1 changed files with 2 additions and 0 deletions
|
@ -2445,6 +2445,8 @@ qtdemux_parse_moof (GstQTDemux * qtdemux, const guint8 * buffer, guint length,
|
|||
0, GST_CLOCK_TIME_NONE,
|
||||
gst_util_uint64_scale (decode_time,
|
||||
GST_SECOND, stream->timescale)));
|
||||
/* ref added when replaced, release the original _new one */
|
||||
gst_event_unref (qtdemux->pending_newsegment);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue