[Ffmpeg-cvslog] r7391 - trunk/ffplay.c
michael
subversion
Sun Dec 31 21:09:11 CET 2006
Author: michael
Date: Sun Dec 31 21:09:10 2006
New Revision: 7391
Modified:
trunk/ffplay.c
Log:
remember the size after switching back from fullscreen
Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c (original)
+++ trunk/ffplay.c Sun Dec 31 21:09:10 2006
@@ -2281,8 +2281,8 @@
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:
More information about the ffmpeg-cvslog
mailing list