]> git.sesse.net Git - vlc/commitdiff
mkv.cpp: oops
authorSteve Lhomme <robux@videolan.org>
Fri, 1 Apr 2005 17:14:58 +0000 (17:14 +0000)
committerSteve Lhomme <robux@videolan.org>
Fri, 1 Apr 2005 17:14:58 +0000 (17:14 +0000)
modules/demux/mkv.cpp

index 0f0b48d079356f6472812b6bfe62f0484670b4c0..25720b7a9b98c2579873f78b331c7952536c29bd 100644 (file)
@@ -1609,7 +1609,7 @@ void virtual_segment_t::UpdateCurrentToChapter( demux_t & demux )
             {
                 /* TODO check if we need to silently seek to a new location in the stream (switch to another chapter) */
                 if (psz_current_chapter->i_end_time != psz_curr_chapter->i_start_time)
-                    Seek(&demux, sys.i_pts, -1, psz_curr_chapter);
+                    Seek( demux, sys.i_pts, 0, psz_curr_chapter );
                 /* count the last duration time found for each track in a table (-1 not found, -2 silent) */
                 /* only seek after each duration >= end timecode of the current chapter */
             }