mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
qtdemux: use correct unref function
Events aren't GstObjects, but GstMiniObjects
This commit is contained in:
parent
ae1150e85c
commit
673301ef48
1 changed files with 1 additions and 1 deletions
|
@ -1825,7 +1825,7 @@ gst_qtdemux_reset (GstQTDemux * qtdemux, gboolean hard)
|
|||
#endif
|
||||
qtdemux->major_brand = 0;
|
||||
if (qtdemux->pending_newsegment)
|
||||
gst_object_unref (qtdemux->pending_newsegment);
|
||||
gst_event_unref (qtdemux->pending_newsegment);
|
||||
qtdemux->pending_newsegment = NULL;
|
||||
qtdemux->upstream_newsegment = TRUE;
|
||||
qtdemux->upstream_seekable = FALSE;
|
||||
|
|
Loading…
Reference in a new issue