Skip to content

Commit

Permalink
set video MaxVideoDecodeResolution to TV res
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert committed Dec 16, 2023
1 parent 66b0840 commit 7914561
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/video/VideoPlayerView.bs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ sub init()
m.top.retrievingBar.filledBarBlendColor = m.global.constants.colors.blue
m.top.bufferingBar.filledBarBlendColor = m.global.constants.colors.blue
m.top.trickPlayBar.filledBarBlendColor = m.global.constants.colors.blue

' set MaxVideoDecodeResolution to our TVs video resolution
m.top.MaxVideoDecodeResolution = [m.global.device.videoWidth, m.global.device.videoHeight]
end sub

' handleChapterSkipAction: Handles user command to skip chapters in playing video
Expand Down

0 comments on commit 7914561

Please sign in to comment.