vlc | branch: master | Filip Roséen <[email protected]> | Mon May  9 14:53:09 
2016 +0200| [b24434c556dd293be0cbb490757f234216905948] | committer: 
Jean-Baptiste Kempf

mkv: added matroska_segment_seeker.{hpp, cpp}

The relevant files has been added to the Makefile.am in charge of the
demuxers.

The code added will be responsible for efficient seeking in mkv files.
It might look very complex but the theory behind it is quite simple:

    - Use the cues in the files as guiding to find where we should look
      for proper index points; the indexes we actually find will be used
      as seekpoints.

    - Keep track of every section we have "indexed", meaning that if we
      jump to a location where we already know where the proper
      seekpoints are; do not go through it one more time.

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 modules/demux/Makefile.am                     |    1 +
 modules/demux/mkv/matroska_segment_seeker.cpp |  427 +++++++++++++++++++++++++
 modules/demux/mkv/matroska_segment_seeker.hpp |  126 ++++++++
 3 files changed, 554 insertions(+)

Diff:   
http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=b24434c556dd293be0cbb490757f234216905948
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to