mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-30 12:23:52 +02:00
Add TrackDescriptor concept
This commit is contained in:
@@ -894,10 +894,6 @@ export class Conversion {
|
||||
|
||||
/** @internal */
|
||||
async _processVideoTrack(track: InputVideoTrack, trackOptions: ConversionVideoOptions) {
|
||||
if (!track.isHydrated) {
|
||||
await track.hydrate();
|
||||
}
|
||||
|
||||
const sourceCodec = track.codec;
|
||||
if (!sourceCodec) {
|
||||
this.discardedTracks.push({
|
||||
@@ -1348,10 +1344,6 @@ export class Conversion {
|
||||
|
||||
/** @internal */
|
||||
async _processAudioTrack(track: InputAudioTrack, trackOptions: ConversionAudioOptions) {
|
||||
if (!track.isHydrated) {
|
||||
await track.hydrate();
|
||||
}
|
||||
|
||||
const sourceCodec = track.codec;
|
||||
if (!sourceCodec) {
|
||||
this.discardedTracks.push({
|
||||
|
||||
Reference in New Issue
Block a user