mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 22:01:10 +00:00
10l, forgot to move aspect_save_screenres in last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18090 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
87fe226acb
commit
9e88af0e0c
@ -148,7 +148,6 @@ static void updateScreenProperties() {
|
||||
vo_screenwidth = dm.dmPelsWidth;
|
||||
vo_screenheight = dm.dmPelsHeight;
|
||||
vo_depthonscreen = dm.dmBitsPerPel;
|
||||
aspect_save_screenres(vo_screenwidth, vo_screenheight);
|
||||
vo_screenx = vo_screeny = 0;
|
||||
if (myMonitorFromWindow && myGetMonitorInfo) {
|
||||
MONITORINFO mi;
|
||||
@ -160,6 +159,7 @@ static void updateScreenProperties() {
|
||||
vo_screenwidth = mi.rcMonitor.right - mi.rcMonitor.left;
|
||||
vo_screenheight = mi.rcMonitor.bottom - mi.rcMonitor.top;
|
||||
}
|
||||
aspect_save_screenres(vo_screenwidth, vo_screenheight);
|
||||
}
|
||||
|
||||
static void changeMode(void) {
|
||||
|
Loading…
Reference in New Issue
Block a user