[FFmpeg-cvslog] ffv1: include solution hint in the slice error message

Michael Niedermayer michaelni at gmx.at
Thu Apr 26 04:38:50 CEST 2012


On Wed, Apr 25, 2012 at 08:58:41PM +0200, Reimar Döffinger wrote:
> 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 :-)

indeed

fixed

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20120426/fd850de7/attachment.asc>


More information about the ffmpeg-cvslog mailing list