[FFmpeg-devel] [PATCH] FFplay speedup if stepping whilst paused

Stefano Sabatini stefano.sabatini-lala
Sun Aug 26 13:34:44 CEST 2007


On date Sunday 2007-08-26 13:15:08 +0200, Michael Niedermayer encoded:
> Hi
> 
> On Sun, Aug 26, 2007 at 11:45:22AM +0200, Stefano Sabatini wrote:
> [...]
> > Since Craig does not seem to come back with a new patch I've done
> > that.
> > 
> > I simply removed the line:
> > cur_stream->video_current_pts = get_video_clock(cur_stream);
> > 
> > since that is already done in stream_pause(), as suggested by Michael.
> > 
> > BTW the patch should be attributed anyway to Craig in the commit
> > message.
> [...]
> > Index: ffplay.c
> > ===================================================================
> > --- ffplay.c	(revision 10230)
> > +++ ffplay.c	(working copy)
> > @@ -2196,9 +2196,9 @@
> >  static void step_to_next_frame(void)
> >  {
> >      if (cur_stream) {
> > -        if (cur_stream->paused)
> [...]
> > +       if (cur_stream->paused)
> 
> no

Oops, sorry.
New try attached.

Cheers.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)




More information about the ffmpeg-devel mailing list