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

Michael Niedermayer git at videolan.org
Wed Apr 25 12:18:02 CEST 2012


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);
         return -1;
         slices_ok:
         write_extra_header(s);



More information about the ffmpeg-cvslog mailing list