From a1bda5b34df857e6e5ba5bbe228e8fbcb452a155 Mon Sep 17 00:00:00 2001 From: Mohammad AlSaleh Date: Sun, 14 Jan 2024 21:20:08 +0300 Subject: 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 --- DOCS/interface-changes.rst | 1 + DOCS/man/options.rst | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'DOCS') 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 -- cgit v1.2.3