1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 02:22:19 +00:00

w32_common: remove unused variable

The depth was printed in verbose mode. Completely useless.
This commit is contained in:
wm4 2013-03-02 19:16:59 +01:00
parent 428a4243e9
commit 0c07e82136
2 changed files with 2 additions and 6 deletions

View File

@ -384,7 +384,6 @@ static void updateScreenProperties(struct vo *vo)
vo->opts->vo_screenwidth = dm.dmPelsWidth;
vo->opts->vo_screenheight = dm.dmPelsHeight;
w32->depthonscreen = dm.dmBitsPerPel;
w32_update_xinerama_info(vo);
}
@ -627,9 +626,8 @@ int vo_w32_init(struct vo *vo)
updateScreenProperties(vo);
mp_msg(MSGT_VO, MSGL_V, "vo: win32: running at %dx%d with depth %d\n",
vo->opts->vo_screenwidth, vo->opts->vo_screenheight,
w32->depthonscreen);
mp_msg(MSGT_VO, MSGL_V, "vo: win32: running at %dx%d\n",
vo->opts->vo_screenwidth, vo->opts->vo_screenheight);
return 1;
}

View File

@ -26,8 +26,6 @@
struct vo_w32_state {
HWND window;
int depthonscreen;
// last non-fullscreen extends (updated only on fullscreen or on initialization)
int prev_width;
int prev_height;