Skip to content

Commit

Permalink
options: add more properties to default watch-later-options
Browse files Browse the repository at this point in the history
Adds:
--secondary-sub-visibility
--video-aspect-method
--video-unscaled
--video-pan-x
--video-pan-y
--video-rotate
--video-crop
--video-zoom
--video-scale-x
--video-scale-y
--video-align-x
--video-align-y

Those properties are related to playback state and are likely expected
to be restored when resuming playback.
  • Loading branch information
kasper93 committed Oct 28, 2023
1 parent 451113e commit 31b5804
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions DOCS/interface-changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ Interface changes
scripts
- remove `--border`, `--fullscreen`, `--ontop`, `--osd-level` and `--pause`
from default `--watch-later-options`
- add `--video-*` and `--secondary-sub-visibility` to default `--watch-later-options`
--- mpv 0.36.0 ---
- add `--target-contrast`
- Target luminance value is now also applied when ICC profile is used.
Expand Down
12 changes: 12 additions & 0 deletions options/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -1067,9 +1067,21 @@ static const struct MPOpts mp_default_opts = {
"sub-ass-force-margins",
"sub-ass-vsfilter-aspect-compat",
"sub-ass-override",
"secondary-sub-visibility",
"ab-loop-a",
"ab-loop-b",
"video-aspect-override",
"video-aspect-method",
"video-unscaled",
"video-pan-x",
"video-pan-y",
"video-rotate",
"video-crop",
"video-zoom",
"video-scale-x",
"video-scale-y",
"video-align-x",
"video-align-y",
NULL
},
};
Expand Down

0 comments on commit 31b5804

Please sign in to comment.