Signed-off-by: Michael Niedermayer <michae...@gmx.at>
---
 ffmpeg.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 633dadd..01458d2 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -944,7 +944,10 @@ static void do_video_out(AVFormatContext *s,
         format_video_sync != VSYNC_PASSTHROUGH &&
         format_video_sync != VSYNC_DROP) {
         double cor = FFMIN(-delta0, duration);
-        av_log(NULL, AV_LOG_WARNING, "Past duration %f too large\n", -delta0);
+        if (delta0 < -0.6) {
+            av_log(NULL, AV_LOG_WARNING, "Past duration %f too large\n", 
-delta0);
+        } else
+            av_log(NULL, AV_LOG_DEBUG, "Cliping frame in rate convertion by 
%f\n", -delta0);
         sync_ipts += cor;
         duration -= cor;
         delta0 += cor;
-- 
1.7.9.5

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to