[FFmpeg-devel] [PATCH] avformat/mux: correct error msg for when BSF filtering fails

Gyan ffmpeg at gyani.pro
Tue Jul 16 15:41:08 EEST 2019


-------------- next part --------------
From ec6225cfe6fd139518de6699ea5ded57d9dbae2a Mon Sep 17 00:00:00 2001
From: Gyan Doshi <ffmpeg at gyani.pro>
Date: Tue, 16 Jul 2019 18:06:42 +0530
Subject: [PATCH] avformat/mux: correct error msg for when BSF filtering fails

---
 libavformat/mux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mux.c b/libavformat/mux.c
index 21f10caf53..8ab5ea8c2b 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -865,7 +865,7 @@ static int do_packet_auto_bsf(AVFormatContext *s, AVPacket *pkt) {
             if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)
                 return 0;
             av_log(ctx, AV_LOG_ERROR,
-                    "Failed to send packet to filter %s for stream %d\n",
+                    "Failed to receive packet from filter %s for stream %d\n",
                     ctx->filter->name, pkt->stream_index);
             if (s->error_recognition & AV_EF_EXPLODE)
                 return ret;
-- 
2.22.0


More information about the ffmpeg-devel mailing list