[FFmpeg-cvslog] ffplay: pause rdft column when ffplay is paused

Michael Niedermayer git at videolan.org
Wed Mar 28 02:34:40 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 27 04:11:14 2012 +0200| [e6093e3640ab9303523dcd79394cce0e0702238c] | committer: Marton Balint

ffplay: pause rdft column when ffplay is paused

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e6093e3640ab9303523dcd79394cce0e0702238c
---

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



More information about the ffmpeg-cvslog mailing list