mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
ffmpeg: clarify error message in case of bitstream filter opening failure
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user