ffv1: include solution hint in the slice error message

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-04-25 11:21:30 +02:00
parent 8f89954550
commit 16524d1be0
1 changed files with 1 additions and 1 deletions

View File

@ -1102,7 +1102,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
goto slices_ok;
}
}
av_log(avctx, AV_LOG_ERROR, "Unsupported number %d of slices requested\n", avctx->slices);
av_log(avctx, AV_LOG_ERROR, "Unsupported number %d of slices requested, please specify a supported number with -slices\n", avctx->slices);
return -1;
slices_ok:
write_extra_header(s);