summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 200ba53f53..176e06ca12 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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
}