[SCM] libav/experimental: add hint for closed gop and sc threshold error message

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:55:31 UTC 2013


The following commit has been merged in the experimental branch:
commit 9d57fd9be5cb85b046011510517ba2485d9c81d1
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Wed Jan 24 16:15:00 2007 +0000

    add hint for closed gop and sc threshold error message
    
    Originally committed as revision 7692 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 1c27108..f23faed 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1095,7 +1095,7 @@ int MPV_encode_init(AVCodecContext *avctx)
     }
 
     if(s->avctx->scenechange_threshold < 1000000000 && (s->flags & CODEC_FLAG_CLOSED_GOP)){
-        av_log(avctx, AV_LOG_ERROR, "closed gop with scene change detection arent supported yet\n");
+        av_log(avctx, AV_LOG_ERROR, "closed gop with scene change detection arent supported yet, set threshold to 1000000000\n");
         return -1;
     }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list