diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-15 12:41:28 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-15 12:41:28 +0200 |
commit | 670702f91dfa013e3b6193991b0a0a1796ecc9eb (patch) | |
tree | 25002234b57c95ff66cd951857d5184ed73f6635 /ffmpeg.c | |
parent | da2f1568439ff1786413899dbb4fe30d87ab2721 (diff) | |
download | ffmpeg-670702f91dfa013e3b6193991b0a0a1796ecc9eb.tar.gz |
ffmpeg: Print an error if avfilter_graph_queue_command() failed
Fixes CID1271809
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)); } } } |