[vlc-devel] [PATCH 3/3] mkv: only check if we went too far on the next Demux call

Steve Lhomme robux4 at videolabs.io
Thu Mar 17 15:05:30 CET 2016


---
 modules/demux/mkv/mkv.cpp | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index 0729318..9901aa6 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -769,16 +769,6 @@ static int Demux( demux_t *p_demux)
         p_sys->i_pcr = i_pcr;
     }
 
-    if( p_sys->i_pts >= p_sys->i_start_pts  )
-    {
-        if ( p_vsegment->UpdateCurrentToChapter( *p_demux ) )
-        {
-            delete block;
-            return 1;
-        }
-        p_vsegment = p_sys->p_current_vsegment;
-    }
-
     if ( p_vsegment->CurrentEdition() &&
          p_vsegment->CurrentEdition()->b_ordered &&
          p_vsegment->CurrentChapter() == NULL )
-- 
2.7.1



More information about the vlc-devel mailing list