[vlc-commits] mkv: only check if we went too far on the next Demux call

Steve Lhomme git at videolan.org
Thu Mar 17 16:58:28 CET 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Mar 17 15:05:30 2016 +0100| [5fe7b08a6c384d4702979d8da33fce1715f40ab0] | committer: Jean-Baptiste Kempf

mkv: only check if we went too far on the next Demux call

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5fe7b08a6c384d4702979d8da33fce1715f40ab0
---

 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 )



More information about the vlc-commits mailing list