Commit 670702f9 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: Print an error if avfilter_graph_queue_command() failed

Fixes CID1271809
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent da2f1568
......@@ -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));
}
}
}
......
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