#include "stab/vector.h"
#include "stab/utils.h"
#include "stab/estimate.h"
-#include "stab/resample.h"
+#include "stab/resample.h"
typedef struct {
static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format *format, int *width, int *height, int writable )
{
mlt_filter filter = mlt_frame_pop_service( frame );
- if (*format != mlt_image_yuv420p){
- return 1;
- }
+ *format = mlt_image_rgb24;
mlt_properties_set_int( MLT_FRAME_PROPERTIES(frame), "consumer_deinterlace", 1 );
int error = mlt_frame_get_image( frame, image, format, width, height, 1 );
hipass( self->pos_i, self->pos_h, length, fps );
serialize_vectors( self, length );
}
- }
- if ( vectors )
- {
+ } else {
// Apply
if ( self->initialized != 2 )
{