From 548f0fb88ce5a0b1e6de28574d428bad10d46214 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 11 Apr 2013 09:37:52 +0000 Subject: Use SWS_FULL_CHR_H_INT for SWS context for more accurate conversion Suggestion by Bjeorn Sonnenschein from report #34755. --- source/blender/imbuf/intern/anim_movie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/imbuf') diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c index 7f25d9b1d25..8fe98d1de45 100644 --- a/source/blender/imbuf/intern/anim_movie.c +++ b/source/blender/imbuf/intern/anim_movie.c @@ -606,7 +606,7 @@ static int startffmpeg(struct anim *anim) anim->pCodecCtx->width, anim->pCodecCtx->height, PIX_FMT_RGBA, - SWS_FAST_BILINEAR | SWS_PRINT_INFO, + SWS_FAST_BILINEAR | SWS_PRINT_INFO | SWS_FULL_CHR_H_INT, NULL, NULL, NULL); if (!anim->img_convert_ctx) { -- cgit v1.2.3