Home
last modified time | relevance | path

Searched refs:seek_pos_msec (Results 1 - 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
H A Ddashdec.c2238 static int dash_seek(AVFormatContext *s, struct representation *pls, int64_t seek_pos_msec, int flags, int dry_run) in dash_seek() argument
2246 seek_pos_msec, dry_run ? " (dry)" : ""); in dash_seek()
2255 return av_seek_frame(pls->ctx, -1, seek_pos_msec * 1000, flags); in dash_seek()
2271 if (seek_pos_msec < ((duration * 1000) / pls->fragment_timescale)) { in dash_seek()
2277 if (seek_pos_msec < ((duration * 1000) / pls->fragment_timescale)) { in dash_seek()
2289 pls->cur_seq_no = pls->first_seq_no + ((seek_pos_msec * pls->fragment_timescale) / pls->fragment_duration) / 1000; in dash_seek()
2306 int64_t seek_pos_msec = av_rescale_rnd(timestamp, 1000, in dash_read_seek() local
2316 ret = dash_seek(s, c->videos[i], seek_pos_msec, flags, !c->videos[i]->ctx); in dash_read_seek()
2320 ret = dash_seek(s, c->audios[i], seek_pos_msec, flags, !c->audios[i]->ctx); in dash_read_seek()
2324 ret = dash_seek(s, c->subtitles[i], seek_pos_msec, flag in dash_read_seek()
[all...]

Completed in 4 milliseconds