Commit 15251073 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: improve built in docs for passing commands

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f8f4e48b
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment