Skip to content

Commit a0ead98

Browse files
authored
Merge pull request #496 from w3c/sandersdan-mp4-decode-coded-size
Use coded size in mp4-decode sample
2 parents f0d7a73 + 9693d12 commit a0ead98

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)