Browse Source

ffplay: pause rdft column when ffplay is paused

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
tags/n0.11
Michael Niedermayer Marton Balint 14 years ago
parent
commit
e6093e3640
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      ffplay.c

+ 2
- 1
ffplay.c View File

@@ -867,7 +867,8 @@ static void video_audio_display(VideoState *s)
}
}
SDL_UpdateRect(screen, s->xpos, s->ytop, 1, s->height);
s->xpos++;
if (!s->paused)
s->xpos++;
if (s->xpos >= s->width)
s->xpos= s->xleft;
}


Loading…
Cancel
Save