0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02: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:
reimar 2006-04-14 11:23:03 +00:00
parent 87fe226acb
commit 9e88af0e0c

View File

@ -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) {