From dee861630a64d6c8056b023130298e16e0290f61 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 3 Mar 2014 16:38:45 -0300 Subject: [PATCH] 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 --- gst/avi/gstavidemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 2dc56311cb..74922cc1d4 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 (); -- 2.34.1