mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-01 21:03:46 +02:00
Merge branch 'main' into prores
This commit is contained in:
@@ -25,6 +25,7 @@ import {
|
||||
} from '../codec';
|
||||
import { Demuxer } from '../demuxer';
|
||||
import { Input } from '../input';
|
||||
import { Logging } from '../logging';
|
||||
import {
|
||||
InputAudioTrackBacking,
|
||||
InputTrackBacking,
|
||||
@@ -1023,7 +1024,7 @@ export class MatroskaDemuxer extends Demuxer {
|
||||
|| instruction.scope !== ContentEncodingScope.Block
|
||||
|| instruction.data.algorithm !== ContentCompAlgo.HeaderStripping;
|
||||
})) {
|
||||
console.warn(`Track #${this.currentTrack.id} has an unsupported content encoding; dropping.`);
|
||||
Logging._warn(`Track #${this.currentTrack.id} has an unsupported content encoding; dropping.`);
|
||||
this.currentTrack = null;
|
||||
}
|
||||
|
||||
@@ -1965,6 +1966,10 @@ abstract class MatroskaTrackBacking implements InputTrackBacking {
|
||||
return false;
|
||||
}
|
||||
|
||||
getUnixTimeForTimestamp() {
|
||||
return null;
|
||||
}
|
||||
|
||||
getDisposition() {
|
||||
return this.internalTrack.disposition;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user