MCPcopy Create free account
hub / github.com/FFMS/ffms2 / FFMS_GetFrameByTime

Function FFMS_GetFrameByTime

src/core/ffms.cpp:150–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150FFMS_API(const FFMS_Frame *) FFMS_GetFrameByTime(FFMS_VideoSource *V, double Time, FFMS_ErrorInfo *ErrorInfo) {
151 ClearErrorInfo(ErrorInfo);
152 try {
153 return V->GetFrameByTime(Time);
154 } catch (FFMS_Exception &e) {
155 e.CopyOut(ErrorInfo);
156 return nullptr;
157 }
158}
159
160FFMS_API(int) FFMS_GetAudio(FFMS_AudioSource *A, void *Buf, int64_t Start, int64_t Count, FFMS_ErrorInfo *ErrorInfo) {
161 ClearErrorInfo(ErrorInfo);

Callers 2

GetVSFrameMethod · 0.85
GetFrameMethod · 0.85

Calls 3

ClearErrorInfoFunction · 0.85
GetFrameByTimeMethod · 0.80
CopyOutMethod · 0.80

Tested by

no test coverage detected