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:
parent
28a613b09b
commit
e6093e3640
3
ffplay.c
3
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user