From 40b6e28778653d1f16dc650d841d9adedc781bea Mon Sep 17 00:00:00 2001
From: Mulvya <mulvya@gmail.com>
Date: Fri, 10 Feb 2017 17:10:14 +0530
Subject: [PATCH] doc: Add muxers/demuxers list option

Signed-off-by: Mulvya <mulvya@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 doc/demuxers.texi            | 5 +++--
 doc/ffmpeg.texi              | 2 +-
 doc/fftools-common-opts.texi | 6 ++++++
 doc/muxers.texi              | 5 +++--
 4 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index c12c07e2720..29a23d48b25 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -13,8 +13,9 @@ You can disable all the demuxers using the configure option
 the option @code{--enable-demuxer=@var{DEMUXER}}, or disable it
 with the option @code{--disable-demuxer=@var{DEMUXER}}.
 
-The option @code{-formats} of the ff* tools will display the list of
-enabled demuxers.
+The option @code{-demuxers} of the ff* tools will display the list of
+enabled demuxers. Use @code{-formats} to view a combined list of
+enabled demuxers and muxers.
 
 The description of some of the currently available demuxers follows.
 
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 996d6a6cc48..11b527da430 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1547,7 +1547,7 @@ to enable LAME support by passing @code{--enable-libmp3lame} to configure.
 The mapping is particularly useful for DVD transcoding
 to get the desired audio language.
 
-NOTE: To see the supported input formats, use @code{ffmpeg -formats}.
+NOTE: To see the supported input formats, use @code{ffmpeg -demuxers}.
 
 @item
 You can extract images from a video, or create a video from many images:
diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi
index a8e485f43ab..7269aeece91 100644
--- a/doc/fftools-common-opts.texi
+++ b/doc/fftools-common-opts.texi
@@ -110,6 +110,12 @@ Show version.
 @item -formats
 Show available formats (including devices).
 
+@item -demuxers
+Show available demuxers.
+
+@item -muxers
+Show available muxers.
+
 @item -devices
 Show available devices.
 
diff --git a/doc/muxers.texi b/doc/muxers.texi
index cb875a46362..6a9505e8ecf 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -13,8 +13,9 @@ You can disable all the muxers with the configure option
 with the options @code{--enable-muxer=@var{MUXER}} /
 @code{--disable-muxer=@var{MUXER}}.
 
-The option @code{-formats} of the ff* tools will display the list of
-enabled muxers.
+The option @code{-muxers} of the ff* tools will display the list of
+enabled muxers. Use @code{-formats} to view a combined list of
+enabled demuxers and muxers.
 
 A description of some of the currently available muxers follows.
 
-- 
GitLab