Commit 9d57fd9b authored by Baptiste Coudurier's avatar Baptiste Coudurier

add hint for closed gop and sc threshold error message

Originally committed as revision 7692 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e809d7e5
...@@ -1095,7 +1095,7 @@ int MPV_encode_init(AVCodecContext *avctx) ...@@ -1095,7 +1095,7 @@ int MPV_encode_init(AVCodecContext *avctx)
} }
if(s->avctx->scenechange_threshold < 1000000000 && (s->flags & CODEC_FLAG_CLOSED_GOP)){ 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; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment