summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-23 15:59:06 +0100
committerwm4 <wm4@nowhere>2015-01-23 15:59:06 +0100
commit9681d42a9427c8860f1a768a289de3679a9cd9e8 (patch)
tree87d91b0650a50253688372eca63164956d24dd6d /DOCS
parenta0ed62fc1d427bc02af8a2865d491ebde73ad2f0 (diff)
downloadmpv-9681d42a9427c8860f1a768a289de3679a9cd9e8.tar.bz2
mpv-9681d42a9427c8860f1a768a289de3679a9cd9e8.tar.xz
command: export file format as property
Repurpose demuxer->filetype for this. It used to be used to print a human readable format description; change it to a symbolic format name and export it as property. Unfortunately, libavformat has its own weird conventions, which are reflected through the new property, e.g. the .mp4 case mentioned in the manpage. Fixes #1504.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 4ec29ba62d..3992ace93a 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -709,6 +709,11 @@ Property list
Otherwise, return the ``filename`` property.
+``file-format``
+ Symbolic name of the file format. In some cases, this is a comma-separated
+ list of format names, e.g. mp4 is ``mov,mp4,m4a,3gp,3g2,mj2`` (the list
+ may grow future for any format).
+
``demuxer``
Name of the current demuxer. (This is useless.)