diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-14 08:18:52 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-14 08:18:52 +0000 |
commit | 2895f54f523e426d3f777d5763e17dbb7c3b501f (patch) | |
tree | 1a8c427bda2c1a56d0c02e8afbf187e130b33032 | |
parent | ca22ffedaa6f4146dab040feb3148b5725fefaf2 (diff) |
Removed D key for doublesize, already clobbered by framedrop.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1510 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | DOCS/SDL | 5 | ||||
-rw-r--r-- | libvo/vo_sdl.c | 7 |
2 files changed, 4 insertions, 8 deletions
@@ -11,8 +11,7 @@ SDL Keys: F toggles fullscreen/windowed mode C cycles available fullscreen modes W/S mappings for * and / (mixer control) -N sets normal size -D sets double size +N sets normal/double size KNOWN BUGS: - Keys pressed under aalib console driver repeat forever. @@ -22,4 +21,4 @@ Please report problems or bugs with sdl out to the MPlayer-users mailinglist. -- -Felix Bünemann, 2001-07-28 +Felix Bünemann, 2001-08-14 diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 7b7a0fc754..6426374180 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -1089,10 +1089,7 @@ static void check_events (void) priv->windowsize.w = priv->surface->w; priv->windowsize.h = priv->surface->h; if(verbose > 1) printf("SDL: Normal size\n"); - } - } - - else if ( keypressed == SDLK_d ) { + } else if (priv->surface->w != priv->width * 2 || priv->surface->h != priv->height * 2) { priv->surface = SDL_SetVideoMode(priv->width * 2, priv->height * 2, priv->bpp, priv->sdlflags); priv->windowsize.w = priv->surface->w; @@ -1100,7 +1097,7 @@ static void check_events (void) if(verbose > 1) printf("SDL: Double size\n"); } } - + else switch(keypressed){ case SDLK_RETURN: if (!firstcheck) { firstcheck = 1; break; } |