[FFmpeg-devel] [PATCH] ffmpeg: clarify error message in case of bitstream filter opening failure
Stefano Sabatini
stefasab at gmail.com
Fri Jan 13 00:49:55 CET 2012
---
ffmpeg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 9815345..07f2d37 100644
--- a/ffmpeg.c
+++ b/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);
--
1.7.5.4
More information about the ffmpeg-devel
mailing list