projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81109d5
)
mxfdemux: Set stream tags to NULL after unreffing
author
Sebastian Dröge
<sebastian@centricular.com>
Fri, 20 Jan 2017 05:51:09 +0000
(07:51 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 25 Jan 2017 12:23:32 +0000
(14:23 +0200)
Otherwise we might try to unref them a second time a little bit later.
https://bugzilla.gnome.org/show_bug.cgi?id=777503
gst/mxf/mxfdemux.c
patch
|
blob
|
history
diff --git
a/gst/mxf/mxfdemux.c
b/gst/mxf/mxfdemux.c
index a380f6dd9bb7c48e86f2a720c4c5f6dfce978c65..54ceec1df08584cc84d256029edcd5d095066bc0 100644
(file)
--- a/
gst/mxf/mxfdemux.c
+++ b/
gst/mxf/mxfdemux.c
@@
-835,6
+835,7
@@
gst_mxf_demux_update_essence_tracks (GstMXFDemux * demux)
etrack->mapping_data = NULL;
if (etrack->tags)
gst_tag_list_unref (etrack->tags);
+ etrack->tags = NULL;
goto next;
} else if (!caps) {
GST_WARNING_OBJECT (demux, "Couldn't create updated caps for stream");