summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2021-06-24 10:56:36 +0200
committeravih <avih@users.noreply.github.com>2021-06-24 12:01:22 +0300
commit5e23e81485fa22b3c2a0ecaca639fc6afbd872d0 (patch)
tree480cdba6741fb1de5baae68d8097be3bb47293cc /player
parent5b40db385a7b4239e2e78d67f1098209c8592202 (diff)
downloadmpv-5e23e81485fa22b3c2a0ecaca639fc6afbd872d0.tar.bz2
mpv-5e23e81485fa22b3c2a0ecaca639fc6afbd872d0.tar.xz
player: fix property name
Commits 4d1ffec and 6e481d0 renamed sub-ass-style-override to sub-ass-override. But in commit bd603c2, when renaming it in quit-watch-later's backup_properties, which determines which properties are saved by quit-watch-later/write-watch-later-config, it was incorrectly renamed to sub-style-override instead, and thus never got saved even if modified at runtime. Instead mpv attempted to save the non-existing property "sub-style-override", but since no error is raised when saving non-existing properties with quit-watch-later, no one noticed it. This commit renames the saved property to the correct new name "sub-ass-override" so that it does get saved.
Diffstat (limited to 'player')
-rw-r--r--player/configfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/configfiles.c b/player/configfiles.c
index 3930cf2139..83aed38d27 100644
--- a/player/configfiles.c
+++ b/player/configfiles.c
@@ -270,7 +270,7 @@ static const char *const backup_properties[] = {
"sub-use-margins",
"sub-ass-force-margins",
"sub-ass-vsfilter-aspect-compat",
- "sub-style-override",
+ "sub-ass-override",
"ab-loop-a",
"ab-loop-b",
"options/video-aspect-override",