* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "filter_mirror.h"
-
+#include <framework/mlt_filter.h>
#include <framework/mlt_frame.h>
#include <stdio.h>
int reverse = mlt_properties_get_int( properties, "reverse" );
// Get the image
+ *format = mlt_image_yuv422;
int error = mlt_frame_get_image( frame, image, format, width, height, 1 );
// Get the alpha
uint8_t *alpha = mlt_frame_get_alpha_mask( frame );
// If we have an image of the right colour space
- if ( error == 0 && *format == mlt_image_yuv422 )
+ if ( error == 0 )
{
// We'll KISS here
int hh = *height / 2;
/** Constructor for the filter.
*/
-mlt_filter filter_mirror_init( void *arg )
+mlt_filter filter_mirror_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
{
// Construct a new filter
mlt_filter this = mlt_filter_new( );