Skip to content
Permalink
Browse files

[preview] Tweak autozoom to avoid Avidemux window expanding beyond av…

…ailable screen real estate when loading FullHD videos on WQHD displays
  • Loading branch information...
eumagga0x2a committed May 26, 2019
1 parent 2c1ad20 commit e31c5643f19dc37f3b71fc2a87c3ce9930360c33
Showing with 1 addition and 1 deletion.
  1. +1 −1 avidemux/common/ADM_preview.cpp
@@ -105,7 +105,7 @@ void admPreview::setMainDimension(uint32_t w, uint32_t h, float nzoom)
UI_getPhysicalScreenSize(NULL, &phyW,&phyH);
if(3*phyW<4*w || 3*phyH<4*h)
{
if(phyW<w/2 || phyH<h/2)
if(5*phyW<4*w || 5*phyH<4*h)
{
nzoom=ZOOM_1_4;
}else

0 comments on commit e31c564

Please sign in to comment.
You can’t perform that action at this time.