diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-12-31 20:09:10 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-12-31 20:09:10 +0000 |
commit | c57d34693b48ad328a7a82d4930616873e643597 (patch) | |
tree | 69df604e22d9354f42b7ac15a72d4a9ac260a714 | |
parent | fb84155b67c4351b2bcea72975cb59d50bfc8dea (diff) | |
download | ffmpeg-c57d34693b48ad328a7a82d4930616873e643597.tar.gz |
remember the size after switching back from fullscreen
Originally committed as revision 7391 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | ffplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2281,8 +2281,8 @@ static void event_loop(void) if (cur_stream) { screen = SDL_SetVideoMode(event.resize.w, event.resize.h, 0, SDL_HWSURFACE|SDL_RESIZABLE|SDL_ASYNCBLIT|SDL_HWACCEL); - cur_stream->width = event.resize.w; - cur_stream->height = event.resize.h; + screen_width = cur_stream->width = event.resize.w; + screen_height= cur_stream->height= event.resize.h; } break; case SDL_QUIT: |