Commit 748304ce authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

qtdemux: release extra event ref when replacing pending newsegment event

parent d0eed204
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment