diff options
author | Niklas Haas <git@haasn.xyz> | 2019-10-04 22:40:19 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2019-10-04 22:41:31 +0200 |
commit | e8f32a92f861d670b51eff8ac29cecf963f3b8f0 (patch) | |
tree | 014c0b0c5b04d924b864384d428b857216ac6b28 /player/lua | |
parent | cb95ce75b5c114b6fd2c6b37ac6941b6848c8014 (diff) | |
download | mpv-e8f32a92f861d670b51eff8ac29cecf963f3b8f0.tar.bz2 mpv-e8f32a92f861d670b51eff8ac29cecf963f3b8f0.tar.xz |
player: update for --video-aspect deprecation
We had some dangling references to this option.
Diffstat (limited to 'player/lua')
-rw-r--r-- | player/lua/ytdl_hook.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/lua/ytdl_hook.lua b/player/lua/ytdl_hook.lua index ab29610f0c..6b465dcb9a 100644 --- a/player/lua/ytdl_hook.lua +++ b/player/lua/ytdl_hook.lua @@ -416,8 +416,8 @@ local function add_single_video(json) -- set aspect ratio for anamorphic video if not (json.stretched_ratio == nil) and - not option_was_set("video-aspect") then - mp.set_property('file-local-options/video-aspect', json.stretched_ratio) + not option_was_set("video-aspect-override") then + mp.set_property('file-local-options/video-aspect-override', json.stretched_ratio) end local stream_opts = mp.get_property_native("file-local-options/stream-lavf-o", {}) |