[FFmpeg-devel] [PATCH] ffplay: pause rdft column when ffplay is paused
Michael Niedermayer
michaelni at gmx.at
Tue Mar 27 04:11:14 CEST 2012
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
ffplay.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ffplay.c b/ffplay.c
index 00be13d..3d61a22 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;
}
--
1.7.5.4
More information about the ffmpeg-devel
mailing list