flvdemux: Fix unref assertion failure

Fix unref assertion failure

https://bugzilla.gnome.org/show_bug.cgi?id=767424
This commit is contained in:
Seungha Yang 2016-06-09 09:30:48 +09:00 committed by Nicolas Dufresne
parent 5328378132
commit 4e23d206b9

View file

@ -402,8 +402,8 @@ gst_flv_demux_parse_metadata_item (GstFlvDemux * demux, GstByteReader * reader,
} else { } else {
gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE, gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE,
GST_TAG_DATE_TIME, dt, NULL); GST_TAG_DATE_TIME, dt, NULL);
gst_date_time_unref (dt);
} }
gst_date_time_unref (dt);
} else if (!strcmp (tag_name, "creator")) { } else if (!strcmp (tag_name, "creator")) {
gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE, gst_tag_list_add (demux->taglist, GST_TAG_MERGE_REPLACE,
GST_TAG_ARTIST, s, NULL); GST_TAG_ARTIST, s, NULL);