[MPlayer-dev-eng] [patch] mplayer patch w/ own structs

Arpi arpi at thot.banki.hu
Sat Jan 4 22:52:37 CET 2003


Hi,

> It seems that someone has applied this one, and I've done some tests.
it was me :)

> It works fine with SVCD images I have lying around here, but it does
> not work as well with XCD images (OGM burnt in mode2/2352, created
> under Windows). Well, with "mplayer -cuefile lk.cue -vcd 2" the movie
> is played back just fine, but trying to seek sends mplayer into an
> infinite loop in libmpdemux/demux_ogg.c. The Ogg demuxer first seeks to
> a position with stream_seek and then reads data. The data is being
> read, but the demuxer cannot find a single Ogg page after the seek...
> 
> Seeking with the aforementioned SVCD image works fine.
> 
> You might want to take a look at it. I'm too tired at the moment to
> properly debug the problem.

probably the ogg demuxer seeks to absolute position, assuming that the ogg
stream/file starts at pos=0. it may be wrong, and is wrong on vcd/xcd.
try to fix it to seek to stream->start_pos+pos instead of pos.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu


More information about the MPlayer-dev-eng mailing list