• Filip Roséen's avatar
    mkv: fix playback/seek for files where first block has PTS > 0 · a254112b
    Filip Roséen authored
    Some files do not have their first cluster at PTS=0, meaning that we
    might spend an eternity looking for such PTS (even though it is not at
    all present in the file) when starting playback (seeking to 0).
    
    This patch fixes the issue by always assigning a seekpoint for PTS=0 pointing
    at the first cluster position. Instead of using the cluster-timecode, a
    hardcoded value of 0 is used (so that every file will have a seekpoint at that
    location).
    Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
    a254112b
Name
Last commit
Last update
..
Ebml_dispatcher.hpp Loading commit data...
Ebml_parser.cpp Loading commit data...
Ebml_parser.hpp Loading commit data...
chapter_command.cpp Loading commit data...
chapter_command.hpp Loading commit data...
chapters.cpp Loading commit data...
chapters.hpp Loading commit data...
demux.cpp Loading commit data...
demux.hpp Loading commit data...
dispatcher.hpp Loading commit data...
matroska_segment.cpp Loading commit data...
matroska_segment.hpp Loading commit data...
matroska_segment_parse.cpp Loading commit data...
matroska_segment_seeker.cpp Loading commit data...
matroska_segment_seeker.hpp Loading commit data...
mkv.cpp Loading commit data...
mkv.hpp Loading commit data...
stream_io_callback.cpp Loading commit data...
stream_io_callback.hpp Loading commit data...
string_dispatcher.hpp Loading commit data...
util.cpp Loading commit data...
util.hpp Loading commit data...
virtual_segment.cpp Loading commit data...
virtual_segment.hpp Loading commit data...