mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue