ffmpeg: improve built in docs for passing commands
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 10 Sep 2013 12:13:18 +0000 (14:13 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 10 Sep 2013 12:13:18 +0000 (14:13 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index bd2dc04..78932c7 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2681,7 +2681,7 @@ static int check_keyboard_interaction(int64_t cur_time)
         char buf[4096], target[64], command[256], arg[256] = {0};
         double time;
         int k, n = 0;
-        fprintf(stderr, "\nEnter command: <target> <time> <command>[ <argument>]\n");
+        fprintf(stderr, "\nEnter command: <target>|all <time>|-1 <command>[ <argument>]\n");
         i = 0;
         while ((k = read_key()) != '\n' && k != '\r' && i < sizeof(buf)-1)
             if (k > 0)
@@ -2734,7 +2734,8 @@ static int check_keyboard_interaction(int64_t cur_time)
                         "?      show this help\n"
                         "+      increase verbosity\n"
                         "-      decrease verbosity\n"
-                        "c      Send command to filtergraph\n"
+                        "c      Send command to first matching filter supporting it\n"
+                        "C      Send/Que command to all matching filters\n"
                         "D      cycle through available debug modes\n"
                         "h      dump packets/hex press to cycle through the 3 states\n"
                         "q      quit\n"