diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-22 22:45:30 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-22 22:45:30 +0000 |
commit | 8a61cd287be192dcf6f4b944b07bd30ae69000f6 (patch) | |
tree | a5f76ca3634211bca326b474066a4925658c9ca1 /mplayer.c | |
parent | b097b0767531e15753c44af6f9b90cb0bb5eef66 (diff) | |
download | mpv-8a61cd287be192dcf6f4b944b07bd30ae69000f6.tar.bz2 mpv-8a61cd287be192dcf6f4b944b07bd30ae69000f6.tar.xz |
dvd chapter detect function from Gregory Kovriga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7855 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2565,7 +2565,8 @@ if(rel_seek_secs || abs_seek_pos){ if ( stream->type == STREAMTYPE_DVD ) { dvd_priv_t * dvdp = stream->priv; - guiIntfStruct.DVD.current_chapter=dvdp->cur_cell + 1; + /*guiIntfStruct.DVD.current_chapter=dvdp->cur_cell + 1;*/ + guiIntfStruct.DVD.current_chapter=dvd_chapter_from_cell(dvdp,guiIntfStruct.DVD.current_title-1, dvdp->cur_cell)+1; } #endif } |