summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/configfiles.c2
-rw-r--r--player/lua/ytdl_hook.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/player/configfiles.c b/player/configfiles.c
index 6657693ec5..93fd645d1f 100644
--- a/player/configfiles.c
+++ b/player/configfiles.c
@@ -237,7 +237,7 @@ static const char *const backup_properties[] = {
"sub-style-override",
"ab-loop-a",
"ab-loop-b",
- "options/video-aspect",
+ "options/video-aspect-override",
0
};
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", {})