diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-10 14:13:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-10 14:13:44 +0200 |
commit | 7883827cb7f3f8c1f08d4d71611f99a3025f4a96 (patch) | |
tree | 047b79a9e96318be177053359e4d3ba1c1098b5d /ffmpeg.c | |
parent | 15251073138a4031e05ce3514e234252a54f9d2a (diff) | |
download | ffmpeg-7883827cb7f3f8c1f08d4d71611f99a3025f4a96.tar.gz |
ffmpeg: check for unsupported "queing of command on first filter supporting the specific commend"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2698,6 +2698,9 @@ static int check_keyboard_interaction(int64_t cur_time) ret = avfilter_graph_send_command(fg->graph, target, command, arg, buf, sizeof(buf), key == 'c' ? AVFILTER_CMD_FLAG_ONE : 0); fprintf(stderr, "Command reply for stream %d: ret:%d res:\n%s", i, ret, buf); + } else if (key == 'c') { + fprintf(stderr, "Queing commands only on filters supporting the specific command is unsupported\n"); + ret = AVERROR_PATCHWELCOME; } else { ret = avfilter_graph_queue_command(fg->graph, target, command, arg, 0, time); } |