mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-29 03:43:50 +02:00
Remove input track descriptors, add async getters on tracks for everything, deprecate old sync getters
This commit is contained in:
@@ -35,7 +35,7 @@ test('Default track disposition', async () => {
|
||||
|
||||
const track = (await input.getPrimaryVideoTrack())!;
|
||||
|
||||
expect(track.disposition).toEqual({
|
||||
expect(await track.getDisposition()).toEqual({
|
||||
default: true,
|
||||
forced: false,
|
||||
original: false,
|
||||
@@ -82,7 +82,7 @@ test('Customized track disposition', async () => {
|
||||
|
||||
const track = (await input.getPrimaryVideoTrack())!;
|
||||
|
||||
expect(track.disposition).toEqual({
|
||||
expect(await track.getDisposition()).toEqual({
|
||||
default: false,
|
||||
forced: true,
|
||||
original: true,
|
||||
|
||||
Reference in New Issue
Block a user