Lines Matching defs:seek_pos_msec
2238 static int dash_seek(AVFormatContext *s, struct representation *pls, int64_t seek_pos_msec, int flags, int dry_run)
2246 seek_pos_msec, dry_run ? " (dry)" : "");
2255 return av_seek_frame(pls->ctx, -1, seek_pos_msec * 1000, flags);
2271 if (seek_pos_msec < ((duration * 1000) / pls->fragment_timescale)) {
2277 if (seek_pos_msec < ((duration * 1000) / pls->fragment_timescale)) {
2289 pls->cur_seq_no = pls->first_seq_no + ((seek_pos_msec * pls->fragment_timescale) / pls->fragment_duration) / 1000;
2306 int64_t seek_pos_msec = av_rescale_rnd(timestamp, 1000,
2316 ret = dash_seek(s, c->videos[i], seek_pos_msec, flags, !c->videos[i]->ctx);
2320 ret = dash_seek(s, c->audios[i], seek_pos_msec, flags, !c->audios[i]->ctx);
2324 ret = dash_seek(s, c->subtitles[i], seek_pos_msec, flags, !c->subtitles[i]->ctx);