HACK: mov: when seeking secondary streams, don't insist on key-frames.
This commit is contained in:
parent
6133830d4a
commit
16ff5d966f
|
@ -10215,7 +10215,7 @@ static int mov_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
|
|||
continue;
|
||||
|
||||
timestamp = av_rescale_q(seek_timestamp, s->streams[stream_index]->time_base, st->time_base);
|
||||
sample = mov_seek_stream(s, st, timestamp, flags);
|
||||
sample = mov_seek_stream(s, st, timestamp, flags | AVSEEK_FLAG_ANY);
|
||||
if (sample >= 0)
|
||||
sti->skip_samples = mov_get_skip_samples(st, sample);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue