[FFmpeg-cvslog] avcodec/frame_thread_encoder: warn about huffyuv limitations

Michael Niedermayer git at videolan.org
Sat Feb 15 15:55:10 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Feb 15 15:16:51 2014 +0100| [3c7220fc605c99e419ae38f282fc4f853413c758] | committer: Michael Niedermayer

avcodec/frame_thread_encoder: warn about huffyuv limitations

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3c7220fc605c99e419ae38f282fc4f853413c758
---

 libavcodec/frame_thread_encoder.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/frame_thread_encoder.c b/libavcodec/frame_thread_encoder.c
index 05a7c6b..3ab5b91 100644
--- a/libavcodec/frame_thread_encoder.c
+++ b/libavcodec/frame_thread_encoder.c
@@ -144,6 +144,8 @@ int ff_frame_thread_encoder_init(AVCodecContext *avctx, AVDictionary *options){
         avctx->codec_id == AV_CODEC_ID_FFVHUFF) {
         // huffyuv doesnt support these with multiple frame threads currently
         if (avctx->context_model > 0 || (avctx->flags & CODEC_FLAG_PASS1)) {
+            av_log(avctx, AV_LOG_WARNING,
+               "Forcing thread count to 1 for huffyuv encoding with first pass or context 1\n");
             avctx->thread_count = 1;
         }
     }



More information about the ffmpeg-cvslog mailing list