[MPlayer-dev-eng] [PATCH] make vobsub get displayed immediately after seek if available

Ulion ulion2002 at gmail.com
Mon Dec 10 03:14:14 CET 2007


2007/12/7, Ulion <ulion2002 at gmail.com>:
> 2007/12/7, Reimar Doeffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> > Hello,
> > On Fri, Nov 30, 2007 at 07:22:34AM +0800, Ulion wrote:
> > > Thanks and sorry for missing file. Here's updated patch.
> >
> > This:
> > > (queue->packets + queue->current_index-1)->pts100
> > Seems like a very weird way to write it to me, I think
> > it should be
> > > queue->packets[queue->current_index-1].pts100
>
> It should. Fixed patch is here. Too many codes like this style in
> vobsub.c fooled me.

Update to work with mpegpes. mpegpes seems not accept pts less than 0,
so just skip such packets for it.

-- 
Ulion
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vobsub_seek_delay_fix4.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071210/fa8d0fd2/attachment.asc>


More information about the MPlayer-dev-eng mailing list