[MPlayer-dev-eng] [PATCH] Timestamp-based mpg seeking

Bohdan Horst nexus at irc.pl
Wed Oct 27 12:56:38 CEST 2004


On Tue, Oct 26, 2004 at 08:16:05AM +0000, Michael Behrisch wrote:
> On Sat, Oct 23, 2004 at 12:28:09PM +0200, Bohdan Horst wrote:
> > On Sat, Oct 23, 2004 at 02:06:42AM +0200, Aurelien Jacobs wrote:
> > > On Mon, 18 Oct 2004 10:28:27 +0200
> > > Michael Behrisch <behrisch at informatik.hu-berlin.de> wrote:
> > > 
> > > > On Sun, Oct 17, 2004 at 06:42:00PM +0200, Aurelien Jacobs wrote:
> > > > > 
> > > > > There was a slight modifications on demux_mpg.c in cvs. Hence,
> > > > > your patch do not apply anymore. Could you please update it ?
> > > > > Then I will probably commit it in a few days if no one else do
> > > > > it or complain. This patch seem clean, works well and is really
> > > > > useful IMHO.
> > > > > 
> > > > 
> > > > I updated the patch and also added some modifications which 
> > > > improve seeking for files without valid timestamps.
> > > 
> > > Thanks, applied.
> > > 
> > 
> > doesn't help with my "Resident Evil" and "Whole Nine Yards" DVDs ..
> > 
> > (both report total time = 0:00:00 and seek doesn't work.. - EOF etc)
> > 
> 
> did seeking work before the patch?

no.. (it never worked in mplayer:)

> You could try increasing the 500000 in the following line in demux_mpg.c:
>   off_t end_seq_start = demuxer->movi_end-500000; // 500000 is a wild guess

5000000, 50000000, 500000000 doesn't help :(

regards

-- 
Bohdan 'Nexus' Horst




More information about the MPlayer-dev-eng mailing list