From: Thiago Santos Date: Mon, 3 Mar 2014 19:38:45 +0000 (-0300) Subject: avidemux: do not try to add a tag with tag_name set to NULL X-Git-Tag: 1.3.1~180 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dee861630a64d6c8056b023130298e16e0290f61;p=platform%2Fupstream%2Fgst-plugins-good.git avidemux: do not try to add a tag with tag_name set to NULL This can happen if there are subtitles in the stream, leading to an assertion --- diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 2dc5631..74922cc 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -2430,7 +2430,7 @@ gst_avi_demux_parse_stream (GstAviDemux * avi, GstBuffer * buf) gst_caps_unref (caps); /* make tags */ - if (codec_name) { + if (codec_name && tag_name) { if (!stream->taglist) stream->taglist = gst_tag_list_new_empty ();