Commit 7efc6f29 authored by Stefano Sabatini's avatar Stefano Sabatini

ffmpeg: clarify error message in case of bitstream filter opening failure

parent 3fcf841f
......@@ -988,7 +988,7 @@ static void write_frame(AVFormatContext *s, AVPacket *pkt, OutputStream *ost)
av_free_packet(pkt);
new_pkt.destruct = av_destruct_packet;
} else if (a < 0) {
av_log(NULL, AV_LOG_ERROR, "%s failed for stream %d, codec %s",
av_log(NULL, AV_LOG_ERROR, "Failed to open bitstream filter %s for stream %d with codec %s",
bsfc->filter->name, pkt->stream_index,
avctx->codec ? avctx->codec->name : "copy");
print_error("", a);
......
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