]> git.sesse.net Git - mlt/commitdiff
Disable colorspace normalization - not working yet.
authorDan Dennedy <dan@dennedy.org>
Thu, 21 Oct 2010 02:51:59 +0000 (19:51 -0700)
committerDan Dennedy <dan@dennedy.org>
Thu, 21 Oct 2010 02:51:59 +0000 (19:51 -0700)
src/modules/avformat/filter_avcolour_space.c

index b9ae5f6560ca6e182c2db780f322510fe19b582a..a8a44f78078246871d0ed550bcefc0440e316cd1 100644 (file)
@@ -244,6 +244,9 @@ static int convert_image( mlt_frame frame, uint8_t **image, mlt_image_format *fo
        return error;
 }
 
+/* TODO: The below is not working because swscale does not have
+ * adjustable coefficients yet for RGB->YUV */
+
 static int get_image( mlt_frame frame, uint8_t **image, mlt_image_format *format, int *width, int *height, int writable )
 {
        int error = 0;
@@ -293,8 +296,11 @@ static mlt_frame filter_process( mlt_filter filter, mlt_frame frame )
                mlt_properties_set_int( properties, "colorspace", mlt_service_profile( MLT_FILTER_SERVICE(filter) )->colorspace );
 
        frame->convert_image = convert_image;
-       mlt_frame_push_service( frame, mlt_service_profile( MLT_FILTER_SERVICE( filter ) ) );
-       mlt_frame_push_get_image( frame, get_image );
+    
+//     Not working yet - see comment for get_image() above.
+//     mlt_frame_push_service( frame, mlt_service_profile( MLT_FILTER_SERVICE( filter ) ) );
+//     mlt_frame_push_get_image( frame, get_image );
+
        return frame;
 }