From c6628a5fb618715910ac7cb6d247fc0c0650517b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 12 Aug 2017 23:43:05 +0200 Subject: player: add --track-auto-selection option I imagine this is useful. Or maybe it isn't. --- DOCS/interface-changes.rst | 2 ++ DOCS/man/options.rst | 12 ++++++++++++ 2 files changed, 14 insertions(+) (limited to 'DOCS') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 74eb079322..2163fc4066 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -38,6 +38,8 @@ Interface changes - --lavfi-complex can now be set during runtime. If you set this in expectation it would be applied only after a reload, you might observe weird behavior. + - add --track-auto-selection to help with scripts/applications that + make exclusive use of --lavfi-complex. --- mpv 0.26.0 --- - remove remaining deprecated audio device options, like --alsa-device Some of them were removed in earlier releases. diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 679736e867..3de554f07c 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -76,6 +76,18 @@ Track Selection to ``auto`` (the default), mpv will choose the first edition declared as a default, or if there is no default, the first edition defined. +``--track-auto-selection=`` + Enable the default track auto-selection (default: yes). Enabling this will + make the player select streams according to ``--aid``, ``--alang``, and + others. If it is disabled, no tracks are selected. In addition, the player + will not exit if no tracks are selected, and wait instead (this wait mode + is similar to pausing, but the pause option is not set). + + This is useful with ``--lavfi-complex``: you can start playback in this + mode, and then set select tracks at runtime by setting the filter graph. + Note that if ``--lavfi-complex`` is set before playback is started, the + referenced tracks are always selected. + Playback Control ---------------- -- cgit v1.2.3