[FFmpeg-devel] [PATCHv2] doc/ffplay, ffplay: add information regarding volume control

Ganesh Ajjanagadde gajjanagadde at gmail.com
Sun Sep 27 18:38:34 CEST 2015


ffplay now supports dynamic volume control. This documents the supported
behavior.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
---
 doc/ffplay.texi | 9 +++++++++
 ffplay.c        | 3 +++
 2 files changed, 12 insertions(+)

diff --git a/doc/ffplay.texi b/doc/ffplay.texi
index be696c8..2a35c21 100644
--- a/doc/ffplay.texi
+++ b/doc/ffplay.texi
@@ -197,6 +197,15 @@ Toggle full screen.
 @item p, SPC
 Pause.
 
+ at item m
+Toggle mute.
+
+ at item 9, 0
+Decrease and increase volume respectively.
+
+ at item /, *
+Decrease and increase volume respectively.
+
 @item a
 Cycle audio channel in the current program.
 
diff --git a/ffplay.c b/ffplay.c
index 2bb5d26..9016f7b 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -3647,6 +3647,9 @@ void show_help_default(const char *opt, const char *arg)
            "q, ESC              quit\n"
            "f                   toggle full screen\n"
            "p, SPC              pause\n"
+           "m                   toggle mute\n"
+           "9, 0                decrease and increase volume respectively\n"
+           "/, *                decrease and increase volume respectively\n"
            "a                   cycle audio channel in the current program\n"
            "v                   cycle video channel\n"
            "t                   cycle subtitle channel in the current program\n"
-- 
2.5.3



More information about the ffmpeg-devel mailing list