mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
ffmpeg: clarify error message in case of bitstream filter opening failure
This commit is contained in:
parent
3fcf841ff5
commit
7efc6f2932
2
ffmpeg.c
2
ffmpeg.c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user