Skip to content

Commit 9693d12

Browse files
authored
Use coded size in mp4-decode sample
Fixes #495
1 parent f0d7a73 commit 9693d12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/mp4-decode/mp4_demuxer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ class MP4Demuxer {
159159

160160
let config = {
161161
codec: this.track.codec,
162-
codedHeight: this.track.track_height,
163-
codedWidth: this.track.track_width,
162+
codedHeight: this.track.video.height,
163+
codedWidth: this.track.video.width,
164164
description: extradata,
165165
}
166166

0 commit comments

Comments
 (0)