seek in the stream */
| 1091 | |
| 1092 | /* seek in the stream */ |
| 1093 | static 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 */ |
| 1106 | static void stream_pause(VideoState *is) |
no outgoing calls
no test coverage detected