[Android] Match media and display frame rate

Clement Osumo git at videolan.org
Wed Aug 3 15:16:19 UTC 2022


vlc-android | branch: master | Clement Osumo <clementosumo at gmail.com> | Mon Jun  6 21:15:49 2022 +0300| [3d60cc54cc27c301422c9652a75246a7f6502b44] | committer: Duncan McNamara

Match media and display frame rate

Added functionality for Automatic Frame Rate switching for displays (i.e HDMI).
When a video starts playing, VLC will determine the best frame rate to apply
 on playback, in consideration of the media and frame rates supported by the display.
For example, 24p videos will play at 24p if supported by the display

> https://code.videolan.org/videolan/vlc-android/commit/3d60cc54cc27c301422c9652a75246a7f6502b44
---

 .../resources/src/main/res/values/strings.xml      |   2 +
 .../vlc-android/res/xml/preferences_video.xml      |   8 +
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  |  27 ++-
 .../src/org/videolan/vlc/util/FrameRateManager.kt  | 196 +++++++++++++++++++++
 gradle.properties                                  |   4 +-
 5 files changed, 227 insertions(+), 10 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/3d60cc54cc27c301422c9652a75246a7f6502b44


More information about the Android mailing list