[vlc-commits] demux: mkv: wrong struct member.
Francois Cartegnie
git at videolan.org
Fri Sep 6 22:07:10 CEST 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Sep 6 22:05:36 2013 +0200| [554f010cc2e5a1907ce2265a917d416dab68eac6] | committer: Francois Cartegnie
demux: mkv: wrong struct member.
copy/paste...
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=554f010cc2e5a1907ce2265a917d416dab68eac6
---
modules/demux/mkv/mkv.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index eb26199..6398409 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -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;
}
More information about the vlc-commits
mailing list