projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb84155
)
remember the size after switching back from fullscreen
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 31 Dec 2006 20:09:10 +0000
(20:09 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 31 Dec 2006 20:09:10 +0000
(20:09 +0000)
Originally committed as revision 7391 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
2db802d
..
3ffc520
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-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: