decoder_api: prefer stream_tag over decoder_tag
If both tags (stream and decoder) are present, we prefer the stream tag. Fixes #2698, where ICY tag contained useful information, but was overwritten with bogus decoder tag data.
This commit is contained in:
parent
b6b377edd1
commit
179502fe93
@ -271,8 +271,8 @@ decoder_data(struct decoder *decoder,
|
||||
/* merge with tag from decoder plugin */
|
||||
struct tag *tag;
|
||||
|
||||
tag = tag_merge(decoder->stream_tag,
|
||||
decoder->decoder_tag);
|
||||
tag = tag_merge(decoder->decoder_tag,
|
||||
decoder->stream_tag);
|
||||
cmd = do_send_tag(decoder, is, tag);
|
||||
tag_free(tag);
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user