Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-02-15 18:16:51 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-02-15 18:16:51 +0400
commit3c7220fc605c99e419ae38f282fc4f853413c758 (patch)
treefa78dce87d1268f7671603cb81db6b29599257b2 /libavcodec/frame_thread_encoder.c
parentf7459bcfc5b54554f95616214696b2a9d189d7fa (diff)
avcodec/frame_thread_encoder: warn about huffyuv limitations
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/frame_thread_encoder.c')
-rw-r--r--libavcodec/frame_thread_encoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/frame_thread_encoder.c b/libavcodec/frame_thread_encoder.c
index 05a7c6b43f..3ab5b91038 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;
}
}