OSDN Git Service

ffv1: include solution hint in the slice error message
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Apr 2012 09:21:30 +0000 (11:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Apr 2012 09:21:30 +0000 (11:21 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/ffv1.c

index 8680e76..3a957b1 100644 (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);