aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-27 04:11:14 +0200
committerMarton Balint <cus@passwd.hu>2012-03-27 21:35:56 +0200
commite6093e3640ab9303523dcd79394cce0e0702238c (patch)
tree91e9ae4bc69d4c8728ca54c4f7300fc8df176f6b /ffplay.c
parent28a613b09b712494b8a82d00112d4e6e97a0df0a (diff)
downloadffmpeg-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 00be13de43..3d61a2292b 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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;
}