src/framework/mlt_frame.c
[melted] / src / modules / sdl / consumer_sdl.c
index 2d46db0..2d2d8ac 100644 (file)
@@ -534,6 +534,7 @@ static int consumer_play_video( consumer_sdl this, mlt_frame frame )
                        
                        this->rect.x = ( this->window_width - this->rect.w ) / 2;
                        this->rect.y = ( this->window_height - this->rect.h ) / 2;
+                       this->rect.x -= this->rect.x % 2;
 
                        mlt_properties_set_int( this->properties, "rect_x", this->rect.x );
                        mlt_properties_set_int( this->properties, "rect_y", this->rect.y );