Mercurial > mplayer.hg
changeset 1509:f9beae70c5c2
Removed D key for doublesize, already clobbered by framedrop.
author | atmos4 |
---|---|
date | Tue, 14 Aug 2001 08:18:52 +0000 |
parents | 6e752419c7e8 |
children | 9ffe6c1a33b9 |
files | DOCS/SDL libvo/vo_sdl.c |
diffstat | 2 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/SDL Tue Aug 14 07:16:12 2001 +0000 +++ b/DOCS/SDL Tue Aug 14 08:18:52 2001 +0000 @@ -11,8 +11,7 @@ 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 @@ mailinglist. -- -Felix Bünemann, 2001-07-28 +Felix Bünemann, 2001-08-14
--- a/libvo/vo_sdl.c Tue Aug 14 07:16:12 2001 +0000 +++ b/libvo/vo_sdl.c Tue Aug 14 08:18:52 2001 +0000 @@ -1089,10 +1089,7 @@ 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 @@ if(verbose > 1) printf("SDL: Double size\n"); } } - + else switch(keypressed){ case SDLK_RETURN: if (!firstcheck) { firstcheck = 1; break; }