Revision 917fa192

View differences:

ffplay.c
984 984
static void stream_pause(VideoState *is)
985 985
{
986 986
    is->paused = !is->paused;
987
    if (is->paused) {
987
    if (!is->paused) {
988 988
        is->video_current_pts = get_video_clock(is);
989
        is->frame_timer += (av_gettime() - is->video_current_pts_time) / 1000000.0;
989 990
    }
990 991
}
991 992

  

Also available in: Unified diff