this->height = mlt_properties_get_int( this->properties, "height" );
// Default window size
- this->window_width = ( float )this->height * this->display_aspect + 0.5;
+ this->window_width = ( float )this->height * this->display_aspect;
this->window_height = this->height;
}
else
if ( this->rect.w > this->window_width )
{
this->rect.w = this->window_width;
- this->rect.h = this_aspect / frame_aspect * this->window_height + 0.5;
+ this->rect.h = this_aspect / frame_aspect * this->window_height;
}
}
}
else if ( this->window_height * this->display_aspect > this->window_width )
{
this->rect.w = this->window_width;
- this->rect.h = this->window_width / this->display_aspect + 0.5;
+ this->rect.h = this->window_width / this->display_aspect;
}
else
{
- this->rect.w = this->window_height * this->display_aspect + 0.5;
+ this->rect.w = this->window_height * this->display_aspect;
this->rect.h = this->window_height;
}