diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-27 04:11:14 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2012-03-27 21:35:56 +0200 |
commit | e6093e3640ab9303523dcd79394cce0e0702238c (patch) | |
tree | 91e9ae4bc69d4c8728ca54c4f7300fc8df176f6b /ffplay.c | |
parent | 28a613b09b712494b8a82d00112d4e6e97a0df0a (diff) | |
download | ffmpeg-e6093e3640ab9303523dcd79394cce0e0702238c.tar.gz |
ffplay: pause rdft column when ffplay is paused
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; } |