Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common/lwlibav_video.c: fix incorrect seeking in some mkvs, again
It turns out not only the first frame could have invalid DTS, there are mkv files in the wild that contains first few frames with an invalid DTS. It's beyond me how mkvmerge could have created such a file given that mkv are supposed to be seeking by DTS. Next time, if you face such a mkv, you can: 1. mkvextract the video and then remux with mkvmerge to force it to recreate cue points for all IDR.. 2. add `--cue 0:all` to mkvmerge and remux the broken mkv to fix it. Fixes #14. Signed-off-by: akarin <[email protected]>
- Loading branch information