Commit 5008e1c3 authored by Francois Cartegnie's avatar Francois Cartegnie

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

Because event will rebuild chapter variable.
parent 0ea25a74
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment