]> git.sesse.net Git - mlt/commitdiff
Fix regression in YUV/RGB luma scaling, commit 6834acd. (SF-204)
authorDan Dennedy <dan@dennedy.org>
Sat, 15 Feb 2014 19:25:58 +0000 (11:25 -0800)
committerDan Dennedy <dan@dennedy.org>
Sat, 15 Feb 2014 19:26:21 +0000 (11:26 -0800)
src/modules/avformat/filter_avcolour_space.c

index 627a3c82179335ff7b1e529caf0f03c052fbeeca..5733aa82ea7b5d80dabcb7e52ed37f5b0c843f68 100644 (file)
@@ -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 ),