[MPlayer-dev-eng] [PATCH] Fixing dvd:// support

Olivier Rolland billl at users.sourceforge.net
Sun May 2 13:09:30 CEST 2010


Hi,

Here are 3 patches to fix some issues in stream_dvd.c :

- The first one fixes the incorrect assumption that the number of
chapters of a DVD title is equal to the number of cells.

- The second one improves seeking by chapters. The current code seeks
to the starting position of the chapter. From this position, it then
tries to figure out the starting cell. This is completely suboptimal
and error prone since the starting cell can be directly deduced from
the chapter.

- The third one improves seeking by position. The current code takes
the angle into account. This is a mistake since the position is
independent of the angle.

Please, apply the patches in order.

Regards,

Olivier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-mplayer-dvd-chapters.patch
Type: application/octet-stream
Size: 3234 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100502/34477fb2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-mplayer-dvd-seek-to-chapter.patch
Type: application/octet-stream
Size: 1273 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100502/34477fb2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3-mplayer-dvd-seek-to-pos.patch
Type: application/octet-stream
Size: 1370 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100502/34477fb2/attachment-0002.obj>


More information about the MPlayer-dev-eng mailing list