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

Stefano Sabatini stefano.sabatini-lala
Sun Aug 26 13:38:12 CEST 2007


On date Sunday 2007-08-26 13:34:44 +0200, Stefano Sabatini encoded:
> 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.

New oops and new sorry, this time I hope I'm really going to attach
it.

Cheers.
-- 
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffplayspeedup-02.patch
Type: text/x-diff
Size: 491 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070826/8d58731b/attachment.patch>



More information about the ffmpeg-devel mailing list