[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>swiftingly
parent
7a56447271
commit
d33475953e
|
@ -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