[FFmpeg-cvslog] ffv1: include solution hint in the slice error message
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Wed Apr 25 20:58:41 CEST 2012
On Wed, Apr 25, 2012 at 12:18:02PM +0200, Michael Niedermayer wrote:
> ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr 25 11:21:30 2012 +0200| [16524d1be0c965808a64a4dbac10392fcdd9bcec] | committer: Michael Niedermayer
>
> ffv1: include solution hint in the slice error message
>
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
>
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=16524d1be0c965808a64a4dbac10392fcdd9bcec
> ---
>
> libavcodec/ffv1.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
> index 8680e76..3a957b1 100644
> --- a/libavcodec/ffv1.c
> +++ b/libavcodec/ffv1.c
> @@ -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);
It would be even more helpful if it said which values are valid :-)
More information about the ffmpeg-cvslog
mailing list