[FFmpeg Decoder] Don't post redundant meta event
Don't post a metadata event on open, because inputs will relay it to the player as an early notification bubble, which is unwanted. Signed-off-by: Christopher Snowhill <kode54@gmail.com>lastfm
parent
8d10aa7e80
commit
99fad892f0
|
@ -491,11 +491,6 @@ static uint8_t reverse_bits[0x100];
|
||||||
[self readAudio:prebufferedAudioData frames:1024];
|
[self readAudio:prebufferedAudioData frames:1024];
|
||||||
}
|
}
|
||||||
|
|
||||||
if(metadataUpdated) {
|
|
||||||
[self willChangeValueForKey:@"metadata"];
|
|
||||||
[self didChangeValueForKey:@"metadata"];
|
|
||||||
}
|
|
||||||
|
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue