ffplay: pause rdft column when ffplay is paused

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
pull/4/head
Michael Niedermayer 13 years ago committed by Marton Balint
parent 28a613b09b
commit e6093e3640
  1. 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…
Cancel
Save