changeset 4399:daa2a095181d libavcodec

add hint for closed gop and sc threshold error message
author bcoudurier
date Wed, 24 Jan 2007 16:15:00 +0000
parents d8ccac15e9d3
children b78c1074a9cc
files mpegvideo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Wed Jan 24 15:32:49 2007 +0000
+++ b/mpegvideo.c	Wed Jan 24 16:15:00 2007 +0000
@@ -1095,7 +1095,7 @@
     }
 
     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;
     }