This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local mp = require 'mp' | |
local autovsr_enabled = false | |
local function autovsr() | |
local display_width = mp.get_property_native("display-width") | |
local video_width = mp.get_property_native("width") | |
local display_height = mp.get_property_native("display-height") | |
local video_height = mp.get_property_native("height") | |
if video_width and display_width and video_height and display_height then |