Commit 3c631309 authored by Laurent Aimar's avatar Laurent Aimar

Fixed zoom setting when the video fills the display.

The zoom parameters need to be taken into account as the window
can be resized.
parent 9c1d2239
......@@ -980,7 +980,8 @@ void vout_SetDisplayZoom(vout_display_t *vd, int num, int den)
{
vout_display_owner_sys_t *osys = vd->owner.sys;
if (osys->zoom.num != num || osys->zoom.den != den) {
if (osys->is_display_filled ||
osys->zoom.num != num || osys->zoom.den != den) {
osys->ch_zoom = true;
osys->zoom.num = num;
osys->zoom.den = den;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment