[MPlayer-users] DVD lengths reported as 0 in pre6

Ben Nemec nemebe01 at luther.edu
Sun Jan 9 18:38:33 CET 2005

Hmm, tried it and got the following error when compiling.  Did I mess up?

cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 
-march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer 
-I../libavcodec -I../libavformat    -o demuxer.o demuxer.c
demuxer.c: In function `demuxer_get_time_length':
demuxer.c:1696: error: `sh_video' undeclared (first use in this function)
demuxer.c:1696: error: (Each undeclared identifier is reported only once
demuxer.c:1696: error: for each function it appears in.)
make[1]: *** [demuxer.o] Error 1
make[1]: Leaving directory `/share/Downloads/MPlayer-1.0pre6a/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2


On Sunday 09 January 2005 04:05, Reimar Döffinger wrote:
> Hi,
> On Sun, Jan 09, 2005 at 02:08:46AM -0600, Ben Nemec wrote:
> >    I've recently discovered that in 1.0pre6a MPlayer reports the lengths
> > of some DVD tracks as 0, while in earlier versions I got a too-short but
> > non-zero value.  Unfortunately this has also caused problems with seeking
> > for me, as seeking to an absolute value doesn't work at all and seeking
> > to a percent definitely is not working right either.  I don't see any
> > particular pattern to which tracks I'm having trouble with.  On the same
> > disc, one track shows up just fine and the next reports a length of 0. 
> > However, if a track shows up as 0, it always shows up as zero and if it
> > has a time it always has a time.
> >
> > Has anyone else run into this and reported it?  If not I'll submit a full
> > bug report (if that's what it is).
> Please try the attached patch.
> Greetings,
> Reimar Döffinger

More information about the MPlayer-users mailing list