MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / stream_seek

Function stream_seek

ffplay.c:1093–1103  ·  view source on GitHub ↗

seek in the stream */

Source from the content-addressed store, hash-verified

1091
1092/* seek in the stream */
1093static void stream_seek(VideoState *is, int64_t pos, int64_t rel, int seek_by_bytes)
1094{
1095 if (!is->seek_req) {
1096 is->seek_pos = pos;
1097 is->seek_rel = rel;
1098 is->seek_flags &= ~AVSEEK_FLAG_BYTE;
1099 if (seek_by_bytes)
1100 is->seek_flags |= AVSEEK_FLAG_BYTE;
1101 is->seek_req = 1;
1102 }
1103}
1104
1105/* pause or resume the video */
1106static void stream_pause(VideoState *is)

Callers 2

decode_threadFunction · 0.85
event_loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected