mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
qtdemux: Do not unref a NULL stream_tags
stream->stream_tags is reset to NULL once we expose the stream and these have been consumed, we need to check that when cleaning up the stream.
This commit is contained in:
parent
3e063703b3
commit
43a540b1cd
1 changed files with 3 additions and 1 deletions
|
@ -2600,7 +2600,9 @@ gst_qtdemux_stream_clear (QtDemuxStream * stream)
|
|||
entry->sparse = FALSE;
|
||||
}
|
||||
|
||||
gst_tag_list_unref (stream->stream_tags);
|
||||
if (stream->stream_tags)
|
||||
gst_tag_list_unref (stream->stream_tags);
|
||||
|
||||
stream->stream_tags = gst_tag_list_new_empty ();
|
||||
gst_tag_list_set_scope (stream->stream_tags, GST_TAG_SCOPE_STREAM);
|
||||
g_free (stream->redirect_uri);
|
||||
|
|
Loading…
Reference in a new issue