mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +00:00
mxfdemux: Set stream tags to NULL after unreffing
Otherwise we might try to unref them a second time a little bit later. https://bugzilla.gnome.org/show_bug.cgi?id=777503
This commit is contained in:
parent
075ceffd9b
commit
08723e68df
1 changed files with 1 additions and 0 deletions
|
@ -835,6 +835,7 @@ gst_mxf_demux_update_essence_tracks (GstMXFDemux * demux)
|
||||||
etrack->mapping_data = NULL;
|
etrack->mapping_data = NULL;
|
||||||
if (etrack->tags)
|
if (etrack->tags)
|
||||||
gst_tag_list_unref (etrack->tags);
|
gst_tag_list_unref (etrack->tags);
|
||||||
|
etrack->tags = NULL;
|
||||||
goto next;
|
goto next;
|
||||||
} else if (!caps) {
|
} else if (!caps) {
|
||||||
GST_WARNING_OBJECT (demux, "Couldn't create updated caps for stream");
|
GST_WARNING_OBJECT (demux, "Couldn't create updated caps for stream");
|
||||||
|
|
Loading…
Reference in a new issue