mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 10:55:43 +00:00
Remove some usnused variables and commented-out code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28007 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
307953643d
commit
ff05d203b2
@ -306,7 +306,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
|
||||
|
||||
// int interval, prefer_blank, allow_exp, nothing;
|
||||
unsigned int fg, bg;
|
||||
XGCValues xgcv;
|
||||
Colormap theCmap;
|
||||
XSetWindowAttributes xswa;
|
||||
unsigned long xswamask;
|
||||
@ -315,7 +314,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
|
||||
#ifdef CONFIG_XF86VM
|
||||
int vm = flags & VOFLAG_MODESWITCHING;
|
||||
#endif
|
||||
int fullscreen = flags & (VOFLAG_FULLSCREEN|VOFLAG_MODESWITCHING);
|
||||
Flip_Flag = flags & VOFLAG_FLIPPING;
|
||||
zoomFlag = flags & VOFLAG_SWSCALE;
|
||||
|
||||
@ -330,10 +328,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
|
||||
srcW = width;
|
||||
srcH = height;
|
||||
|
||||
// if(!fullscreen) zoomFlag=1; //it makes no sense to avoid zooming on windowd mode
|
||||
|
||||
//printf( "w: %d h: %d\n\n",vo_dwidth,vo_dheight );
|
||||
|
||||
XGetWindowAttributes(mDisplay, mRootWin, &attribs);
|
||||
depth = attribs.depth;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user