mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-01 12:53:49 +02:00
Remove sample correlation logic in decoder pipeline
This commit is contained in:
@@ -11,6 +11,7 @@ export interface InputTrackBacking {
|
||||
getFirstTimestamp(): Promise<number>;
|
||||
computeDuration(): Promise<number>;
|
||||
getLanguageCode(): Promise<string>;
|
||||
getTimeResolution(): Promise<number>;
|
||||
}
|
||||
|
||||
/** @public */
|
||||
@@ -52,6 +53,10 @@ export abstract class InputTrack {
|
||||
getLanguageCode() {
|
||||
return this._backing.getLanguageCode();
|
||||
}
|
||||
|
||||
getTimeResolution() {
|
||||
return this._backing.getTimeResolution();
|
||||
}
|
||||
}
|
||||
|
||||
export interface InputVideoTrackBacking extends InputTrackBacking {
|
||||
|
||||
Reference in New Issue
Block a user