From 2e68fffb70736b6cdc300031f9edb6028ac29d79 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Sat, 15 Feb 2014 11:25:58 -0800 Subject: [PATCH] Fix regression in YUV/RGB luma scaling, commit 6834acd. (SF-204) --- src/modules/avformat/filter_avcolour_space.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/avformat/filter_avcolour_space.c b/src/modules/avformat/filter_avcolour_space.c index 627a3c82..5733aa82 100644 --- a/src/modules/avformat/filter_avcolour_space.c +++ b/src/modules/avformat/filter_avcolour_space.c @@ -166,7 +166,7 @@ static int convert_image( mlt_frame frame, uint8_t **image, mlt_image_format *fo mlt_profile profile = mlt_service_profile( MLT_PRODUCER_SERVICE( mlt_frame_get_original_producer( frame ) ) ); int colorspace = mlt_properties_get_int( properties, "colorspace" ); - int force_full_luma = -1; + int force_full_luma = 0; mlt_log_debug( NULL, "[filter avcolor_space] %s -> %s @ %dx%d space %d->%d\n", mlt_image_format_name( *format ), mlt_image_format_name( output_format ), -- 2.39.2