mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 21:42:18 +00:00
demux_mkv: increase probing size for still image
Some files, especially with quite a few audio tracks have video blocks
further away, which made them false detected as still images.
Fixes: 26a5146
This commit is contained in:
parent
df720b5218
commit
9254231175
@ -2017,7 +2017,7 @@ static void probe_if_image(demuxer_t *demuxer)
|
||||
|
||||
int64_t timecode = -1;
|
||||
// Arbitrary restriction on packet reading.
|
||||
for (int i = 0; i < 100; i++) {
|
||||
for (int i = 0; i < 1000; i++) {
|
||||
int ret = read_next_block_into_queue(demuxer);
|
||||
if (ret == 1 && mkv_d->blocks[i].track == track) {
|
||||
if (timecode != mkv_d->blocks[i].timecode)
|
||||
|
Loading…
Reference in New Issue
Block a user