mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 12:17:12 +00:00
player: update for --video-aspect deprecation
We had some dangling references to this option.
This commit is contained in:
parent
cb95ce75b5
commit
e8f32a92f8
@ -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
|
||||
};
|
||||
|
||||
|
@ -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", {})
|
||||
|
Loading…
Reference in New Issue
Block a user