1
0
Fork 0

HACK: mov: when seeking secondary streams, don't insist on key-frames.

This commit is contained in:
Hendrik Leppkes 2012-11-27 18:00:52 +01:00
parent 2b49bc2a32
commit cf86848314
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}