summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-10 14:13:18 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-10 14:13:18 +0200
commit15251073138a4031e05ce3514e234252a54f9d2a (patch)
tree07421ddc609cb6380dabf45037455b6d66eb2551 /ffmpeg.c
parentf8f4e48b6da0c8dcaedf27dc34229ae252537c67 (diff)
ffmpeg: improve built in docs for passing commands
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index bd2dc0453c..78932c7783 100644
--- 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"