[FFmpeg-cvslog] lavfi/overlay: improve log message warning in case of clipped overlay

Stefano Sabatini git at videolan.org
Tue Mar 5 20:16:15 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue Feb 19 19:03:30 2013 +0100| [8d9509377e7ebfb50e670488b94b539185083957] | committer: Stefano Sabatini

lavfi/overlay: improve log message warning in case of clipped overlay

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

 libavfilter/vf_overlay.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c
index 1cab9d8..1a76ecc 100644
--- a/libavfilter/vf_overlay.c
+++ b/libavfilter/vf_overlay.c
@@ -276,7 +276,8 @@ static int config_input_overlay(AVFilterLink *inlink)
         over->x + var_values[VAR_OVERLAY_W] > var_values[VAR_MAIN_W] ||
         over->y + var_values[VAR_OVERLAY_H] > var_values[VAR_MAIN_H]) {
         av_log(ctx, AV_LOG_WARNING,
-               "Overlay area (%d,%d)<->(%d,%d) not within the main area (0,0)<->(%d,%d) or zero-sized\n",
+               "Overlay area with coordinates x1:%d y1:%d x2:%d y2:%d "
+               "is not completely contained within the output with size %dx%d\n",
                over->x, over->y,
                (int)(over->x + var_values[VAR_OVERLAY_W]),
                (int)(over->y + var_values[VAR_OVERLAY_H]),



More information about the ffmpeg-cvslog mailing list