summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorMohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>2024-01-14 21:20:08 +0300
committersfan5 <sfan5@live.de>2024-02-13 10:44:41 +0100
commita1bda5b34df857e6e5ba5bbe228e8fbcb452a155 (patch)
treee510fb567f0686207754ffc8d9044563014131f6 /DOCS
parent09606b9db9e228ac80cadb5fd7875ad60c9bd178 (diff)
downloadmpv-a1bda5b34df857e6e5ba5bbe228e8fbcb452a155.tar.bz2
mpv-a1bda5b34df857e6e5ba5bbe228e8fbcb452a155.tar.xz
sub: allow setting lavc txt_page special values via teletext_page
* Range of accepted values for teletext_page now include 0 and -1. * 0 means "subtitle" and -1 means "*". * Make 0 the default. Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/interface-changes.rst1
-rw-r--r--DOCS/man/options.rst7
2 files changed, 6 insertions, 2 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index 2a53cf1e20..d71f14910c 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -46,6 +46,7 @@ Interface changes
- add the command `load-input-conf`
- remove `--vo=rpi`, `--gpu-context=rpi`, and `--hwdec=mmal`
- add `auto` choice to `--deinterlace`
+ - change `--teletext-page` default from 100 to 0 ("subtitle" in lavc)
--- mpv 0.37.0 ---
- `--save-position-on-quit` and its associated commands now store state files
in %LOCALAPPDATA% instead of %APPDATA% directory by default on Windows.
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index ebe99cb189..cb700e92c4 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -2763,9 +2763,12 @@ Subtitles
of subtitles across seeks, so after a seek libass can't eliminate subtitle
packets with the same ReadOrder as earlier packets.
-``--teletext-page=<1-999>``
+``--teletext-page=<-1-999>``
This works for ``dvb_teletext`` subtitle streams, and if FFmpeg has been
- compiled with support for it.
+ compiled with support for it. `-1` matches all pages. `0` (default) matches
+ all subtitle pages.
+
+ Default: 0
``--sub-past-video-end``
After the last frame of video, if this option is enabled, subtitles will