]> git.sesse.net Git - mlt/blobdiff - src/modules/opengl/filter_movit_crop.cpp
Fix crashing when using opengl services with wrapper producers.
[mlt] / src / modules / opengl / filter_movit_crop.cpp
index 24ae8702d298bc2e8d1c34b0b952a914326aba69..0dee4b9ca56aa990c7dee88c95dba6bec38e537e 100644 (file)
@@ -53,9 +53,6 @@ static int get_image( mlt_frame frame, uint8_t **image, mlt_image_format *format
 
        // Get the image as requested
 //     *format = (mlt_image_format) mlt_properties_get_int( MLT_PRODUCER_PROPERTIES(producer), "_movit image_format" );
-       *format = mlt_image_none;
-       if ( mlt_properties_get_int( properties, "test_image" ) )
-               *format = mlt_image_yuv422;
        error = mlt_frame_get_image( frame, image, format, width, height, writable );
 
        // Skip processing if requested.