Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
demux_mkv: fix incremental indexing with single-keyframe files
This is another regression of the recently added start time probing. If a seek is executed after opening the file (but before reading any packets), the first block is discarded instead of indexed. If there are no other keyframes in the file, seeking will fail completely. Fix it by seeking to the cluster start if there aren't any index entries yet. This will read the skipped packet again. Fixes #2498.
- Loading branch information