[vlc-commits] demux: dvdnav: always update chapter variable after title change. (fix

Francois Cartegnie git at videolan.org
Mon Mar 10 00:26:37 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Mar 10 00:25:16 2014 +0100| [5008e1c35f7c5aa79c2f9e69f9e4995f3a539822] | committer: Francois Cartegnie

demux: dvdnav: always update chapter variable after title change. (fix

Because event will rebuild chapter variable.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5008e1c35f7c5aa79c2f9e69f9e4995f3a539822
---

 modules/access/dvdnav.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index 82393cd..791d2d6 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -856,8 +856,7 @@ static int Demux( demux_t *p_demux )
                 p_demux->info.i_update |= INPUT_UPDATE_TITLE;
                 p_demux->info.i_title = i_title;
 
-                if( i_part >= 1 && i_part <= p_sys->title[i_title]->i_seekpoint &&
-                        p_demux->info.i_seekpoint != i_part - 1 )
+                if( i_part >= 1 && i_part <= p_sys->title[i_title]->i_seekpoint )
                 {
                     p_demux->info.i_update |= INPUT_UPDATE_SEEKPOINT;
                     p_demux->info.i_seekpoint = i_part - 1;



More information about the vlc-commits mailing list