From e8f32a92f861d670b51eff8ac29cecf963f3b8f0 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Fri, 4 Oct 2019 22:40:19 +0200 Subject: player: update for --video-aspect deprecation We had some dangling references to this option. --- player/lua/ytdl_hook.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player/lua/ytdl_hook.lua') 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", {}) -- cgit v1.2.3