Revision c57d3469 ffplay.c

View differences:

ffplay.c
2281 2281
            if (cur_stream) {
2282 2282
                screen = SDL_SetVideoMode(event.resize.w, event.resize.h, 0,
2283 2283
                                          SDL_HWSURFACE|SDL_RESIZABLE|SDL_ASYNCBLIT|SDL_HWACCEL);
2284
                cur_stream->width = event.resize.w;
2285
                cur_stream->height = event.resize.h;
2284
                screen_width = cur_stream->width = event.resize.w;
2285
                screen_height= cur_stream->height= event.resize.h;
2286 2286
            }
2287 2287
            break;
2288 2288
        case SDL_QUIT:

Also available in: Unified diff