From 26f52c5730bbe66229e05f11be8a94a539786318 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 27 Jun 2015 22:02:24 +0200 Subject: demux: export forced flag At least Matroska files have a "forced" flag (in addition to the "default" flag). Export this flag. Treat it almost like the default flag, but with slightly higher priority. --- DOCS/man/input.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DOCS/man/input.rst') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 0ed259f59b..7f6cb1856c 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1579,6 +1579,10 @@ Property list ``yes`` if the track has the default flag set in the file, ``no`` otherwise. + ``track-list/N/foced`` + ``yes`` if the track has the forced flag set in the file, ``no`` + otherwise. + ``track-list/N/codec`` The codec name used by this track, for example ``h264``. Unavailable in some rare cases. @@ -1616,6 +1620,7 @@ Property list "lang" MPV_FORMAT_STRING "albumart" MPV_FORMAT_FLAG "default" MPV_FORMAT_FLAG + "forced" MPV_FORMAT_FLAG "external" MPV_FORMAT_FLAG "external-filename" MPV_FORMAT_STRING "codec" MPV_FORMAT_STRING -- cgit v1.2.3