[FFmpeg-cvslog] ffmpeg: clarify error message in case of bitstream filter opening failure

Stefano Sabatini git at videolan.org
Fri Jan 13 15:55:13 CET 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Jan 12 23:56:58 2012 +0100| [7efc6f293289923bc1a6d0905f492a468562f638] | committer: Stefano Sabatini

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7efc6f293289923bc1a6d0905f492a468562f638
---

 ffmpeg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 997333e..085bb00 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);



More information about the ffmpeg-cvslog mailing list