[FFmpeg-devel] [PATCH] lavfi/amerge: makes more clear the error message in case of input overlap

Stefano Sabatini stefasab at gmail.com
Tue Sep 11 10:40:39 CEST 2012


---
 libavfilter/af_amerge.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c
index 542f8a6..3b953c5 100644
--- a/libavfilter/af_amerge.c
+++ b/libavfilter/af_amerge.c
@@ -99,7 +99,8 @@ static int query_formats(AVFilterContext *ctx)
     }
     if (overlap) {
         av_log(ctx, AV_LOG_WARNING,
-               "Inputs overlap: output layout will be meaningless\n");
+               "Input channel layouts overlap: "
+               "output layout will be determined by the number of distinct input channels\n");
         for (i = 0; i < nb_ch; i++)
             am->route[i] = i;
         outlayout = av_get_default_channel_layout(nb_ch);
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list