]> git.sesse.net Git - mlt/blobdiff - src/modules/core/filter_fieldorder.c
Let loader producer use new GLSL normalizing filters (opengl branch).
[mlt] / src / modules / core / filter_fieldorder.c
index 79223757323d84cd9e10801aa1313a353f0b7285..a0a571f0c868dd1743a2a9b71a458b9cfdda63de 100644 (file)
@@ -47,11 +47,8 @@ static int get_image( mlt_frame frame, uint8_t **image, mlt_image_format *format
                        mlt_properties_get_int( properties, "progressive" ) == 0 )
                {
                        // We only work with non-planar formats
-                       if ( *format == mlt_image_yuv420p )
-                       {
-                               *format = mlt_image_yuv422;
-                               mlt_frame_get_image( frame, image, format, width, height, writable );
-                       }
+                       if ( *format == mlt_image_yuv420p && frame->convert_image )
+                               error = frame->convert_image( frame, image, format, mlt_image_yuv422 );
 
                        // Make a new image
                        int bpp;