mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +02:00
Yes it can!
This commit is contained in:
@@ -643,8 +643,9 @@ class FlacAudioTrackBacking implements InputAudioTrackBacking {
|
||||
options: PacketRetrievalOptions,
|
||||
): Promise<EncodedPacket | null> {
|
||||
assert(this.demuxer.audioInfo);
|
||||
|
||||
if (timestamp < 0) {
|
||||
throw new Error('Timestamp cannot be negative');
|
||||
return null;
|
||||
}
|
||||
|
||||
const release = await this.demuxer.readingMutex.acquire();
|
||||
|
||||
Reference in New Issue
Block a user