ffplay: pause rdft column when ffplay is paused

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Michael Niedermayer 2012-03-27 04:11:14 +02:00 committed by Marton Balint
parent 28a613b09b
commit e6093e3640
1 changed files with 2 additions and 1 deletions

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;
}