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
--video-margin-ratio-left
--video-margin-ratio-right
--video-margin-ratio-top
--video-margin-ratio-bottom

Those properties are related to playback state and are likely expected
to be restored when resuming playback.
  • Loading branch information
kasper93 committed Oct 7, 2023
1 parent 1ee116d commit ac24c22
Show file tree
Hide file tree
Showing 2 changed files with 17 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 @@ -100,6 +100,7 @@ Interface changes
- change the default of `metadata-codepage` to `auto`
- remove `--ontop`, `--border`, `--pause` and `--fullscreen`
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
16 changes: 16 additions & 0 deletions options/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -1060,9 +1060,25 @@ 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",
"video-margin-ratio-left",
"video-margin-ratio-right",
"video-margin-ratio-top",
"video-margin-ratio-bottom",
NULL
},
};
Expand Down

0 comments on commit ac24c22

Please sign in to comment.