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
This commit is contained in:
parent
70de0e4e99
commit
dee861630a
@ -2430,7 +2430,7 @@ gst_avi_demux_parse_stream (GstAviDemux * avi, GstBuffer * buf)
|
|||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
|
|
||||||
/* make tags */
|
/* make tags */
|
||||||
if (codec_name) {
|
if (codec_name && tag_name) {
|
||||||
if (!stream->taglist)
|
if (!stream->taglist)
|
||||||
stream->taglist = gst_tag_list_new_empty ();
|
stream->taglist = gst_tag_list_new_empty ();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user