todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@1352 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -644,7 +644,11 @@ int mp3_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream) {
|
||||
dc->totalTime = data.totalTime;
|
||||
|
||||
if(tag) {
|
||||
copyMpdTagToDecoderControlMetadata(dc, tag);
|
||||
if(inStream->metaTitle) {
|
||||
if(tag->name) free(tag->name);
|
||||
tag->name = strdup(inStream->metaTitle);
|
||||
}
|
||||
copyMpdTagToOutputBuffer(cb, tag);
|
||||
freeMpdTag(tag);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user