From: Dan Dennedy Date: Sat, 15 Feb 2014 19:25:58 +0000 (-0800) Subject: Fix regression in YUV/RGB luma scaling, commit 6834acd. (SF-204) X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=2e68fffb70736b6cdc300031f9edb6028ac29d79;p=mlt Fix regression in YUV/RGB luma scaling, commit 6834acd. (SF-204) --- 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 ),