Revision d881a0e8

View differences:

ffplay.c
1016 1016
{
1017 1017
    VideoState *is= opaque;
1018 1018
    while(!is->abort_request){
1019
    SDL_Event event;
1020
    event.type = FF_REFRESH_EVENT;
1021
    event.user.data1 = opaque;
1019
        SDL_Event event;
1020
        event.type = FF_REFRESH_EVENT;
1021
        event.user.data1 = opaque;
1022 1022
        if(!is->refresh){
1023 1023
            is->refresh=1;
1024
    SDL_PushEvent(&event);
1024
            SDL_PushEvent(&event);
1025 1025
        }
1026 1026
        usleep(is->audio_st && is->show_audio ? rdftspeed*1000 : 5000); //FIXME ideally we should wait the correct time but SDLs event passing is so slow it would be silly
1027 1027
    }

Also available in: Unified diff