]> git.sesse.net Git - vlc/commitdiff
demux: mkv: wrong struct member.
authorFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 6 Sep 2013 20:05:36 +0000 (22:05 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 6 Sep 2013 20:06:54 +0000 (22:06 +0200)
copy/paste...

modules/demux/mkv/mkv.cpp

index eb26199be1f0e1e250b74f5e01e57990fdaf427e..63984094d4e004a2acf30bb96f93aa39118aad85 100644 (file)
@@ -372,7 +372,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
                 p_sys->p_current_segment->p_current_chapter = p_sys->p_current_segment->editions[p_sys->p_current_segment->i_current_edition]->getChapterbyTimecode(0);
 
                 Seek( p_demux, (int64_t)p_sys->titles[i_idx]->seekpoint[0]->i_time_offset, -1, NULL);
-                p_demux->info.i_seekpoint |= INPUT_UPDATE_SEEKPOINT;
+                p_demux->info.i_update |= INPUT_UPDATE_SEEKPOINT;
                 p_demux->info.i_seekpoint = 0;
                 p_sys->f_duration = (float) p_sys->titles[i_idx]->i_length / 1000.f;
                 return VLC_SUCCESS;
@@ -386,7 +386,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
             if( p_sys->titles.size() && i_skp < p_sys->titles[p_sys->i_current_title]->i_seekpoint)
             {
                 Seek( p_demux, (int64_t)p_sys->titles[p_sys->i_current_title]->seekpoint[i_skp]->i_time_offset, -1, NULL);
-                p_demux->info.i_seekpoint |= INPUT_UPDATE_SEEKPOINT;
+                p_demux->info.i_update |= INPUT_UPDATE_SEEKPOINT;
                 p_demux->info.i_seekpoint = i_skp;
                 return VLC_SUCCESS;
             }