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

Submitted by Gyan on July 16, 2019, 12:41 p.m.

Details

Message ID ffa74265-fa8c-b538-4d6b-803fd3556bbe@gyani.pro
State Accepted
Commit c104701b6c5db48481fa2fb32b6e3e40b70f1eb6
Headers show

Commit Message

Gyan July 16, 2019, 12:41 p.m.
From ec6225cfe6fd139518de6699ea5ded57d9dbae2a Mon Sep 17 00:00:00 2001
From: Gyan Doshi <ffmpeg@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(-)

Comments

Gyan July 20, 2019, 9:05 a.m.
On 16-07-2019 06:11 PM, Gyan wrote:
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

Will push.

Gyan

Patch hide | download patch | download mbox

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;