some fixes to metadata stuff
git-svn-id: https://svn.musicpd.org/mpd/trunk@1370 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
11
src/decode.c
11
src/decode.c
@@ -388,17 +388,6 @@ int decoderInit(PlayerControl * pc, OutputBuffer * cb, DecoderControl * dc) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define copyMetadata() { \
|
||||
memcpy(pc->metadata, metadata, DECODE_METADATA_LENGTH); \
|
||||
pc->name = name; \
|
||||
pc->title = title; \
|
||||
pc->artist = artist; \
|
||||
pc->album = album; \
|
||||
gotMetadata = 0; \
|
||||
pc->metadataState = PLAYER_METADATA_STATE_READ; \
|
||||
kill(getppid(), SIGUSR1); \
|
||||
}
|
||||
|
||||
void handleMetadata(OutputBuffer * cb, PlayerControl * pc, int * previous,
|
||||
int * currentChunkSent, MetadataChunk * currentChunk)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user