// Set the sdl flags
this->sdl_flags = SDL_HWSURFACE | SDL_ASYNCBLIT | SDL_HWACCEL | SDL_DOUBLEBUF;
-#if !defined(__DARWIN__) && !defined(WIN32)
+#if !defined(__DARWIN__)
this->sdl_flags |= SDL_RESIZABLE;
#endif
// Allow thread to be started/stopped
// Default window size
double display_ratio = mlt_properties_get_double( this->properties, "display_ratio" );
- this->window_width = ( double )this->height * display_ratio;
+ this->window_width = ( double )this->height * display_ratio + 0.5;
this->window_height = this->height;
if ( sdl_started == 0 && preview_off == 0 )