stream_dvd: Improve seeking by chapters
commit0a321e01e3657ed29219623696ce0963044e38f7
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 1 Aug 2010 22:51:15 +0000 (1 22:51 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 2 Nov 2010 02:15:01 +0000 (2 04:15 +0200)
treee63e5f986419738c67d1b9faa3dde3d1322be021
parentfdb6ce15df046e6e0117b978d0aa6b4748079fac
stream_dvd: Improve seeking by chapters

The current code seeks to the start 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.

patch by Olivier Rolland, billl users.sourceforge net

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31894 b3059339-0415-0410-9bf9-f77b7e298cf2
stream/stream_dvd.c