]> git.sesse.net Git - mlt/blobdiff - src/modules/core/filter_watermark.c
Massive refactoring of image conversion.
[mlt] / src / modules / core / filter_watermark.c
index f1ab0e41ee9180c3631940beef76d91be5eefab1..e1e95d62f6cf3b6f34d0915b53ddfba3069919f2 100644 (file)
@@ -165,6 +165,7 @@ static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format
                                mlt_properties_set_int( b_props, "distort", 1 );
                        }
 
+                       *format = mlt_image_yuv422;
                        if ( mlt_properties_get_int( properties, "reverse" ) == 0 )
                        {
                                // Apply all filters that are attached to this filter to the b frame