]> git.sesse.net Git - mlt/blobdiff - src/modules/core/producer_colour.c
Cleanup existing native color space conversions.
[mlt] / src / modules / core / producer_colour.c
index 742348c223cc6189e8ea87c8b373effc3925f85e..a43adedaadc21f351ac174f030fe3fed85526660 100644 (file)
@@ -162,7 +162,7 @@ static int producer_get_image( mlt_frame frame, uint8_t **buffer, mlt_image_form
                        int count = ( *width - uneven ) / 2 + 1;
                        uint8_t y, u, v;
 
-                       RGB2YUV( color.r, color.g, color.b, y, u, v );
+                       RGB2YUV_601_SCALED( color.r, color.g, color.b, y, u, v );
                        i = *height + 1;
                        while ( --i )
                        {