ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Fri May 15 
12:41:28 2015 +0200| [670702f91dfa013e3b6193991b0a0a1796ecc9eb] | committer: 
Michael Niedermayer

ffmpeg: Print an error if avfilter_graph_queue_command() failed

Fixes CID1271809

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

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

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

diff --git a/ffmpeg.c b/ffmpeg.c
index fde2bcf..877e914 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3337,6 +3337,8 @@ static int check_keyboard_interaction(int64_t cur_time)
                         ret = AVERROR_PATCHWELCOME;
                     } else {
                         ret = avfilter_graph_queue_command(fg->graph, target, 
command, arg, 0, time);
+                        if (ret < 0)
+                            fprintf(stderr, "Queing command failed with error 
%s\n", av_err2str(ret));
                     }
                 }
             }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to