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

This commit is contained in:
Stefano Sabatini 2012-01-12 23:56:58 +01:00
parent 3fcf841ff5
commit 7efc6f2932

View File

@ -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);