[FFmpeg-cvslog] ffmpeg: check for unsupported " queing of command on first filter supporting the specific commend"

Michael Niedermayer git at videolan.org
Tue Sep 10 14:21:36 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 10 14:13:44 2013 +0200| [7883827cb7f3f8c1f08d4d71611f99a3025f4a96] | committer: Michael Niedermayer

ffmpeg: check for unsupported "queing of command on first filter supporting the specific commend"

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7883827cb7f3f8c1f08d4d71611f99a3025f4a96
---

 ffmpeg.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/ffmpeg.c b/ffmpeg.c
index 78932c7..2e084a4 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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);
                     }



More information about the ffmpeg-cvslog mailing list