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

Function FFMS_GetFrame

src/core/ffms.cpp:140–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140FFMS_API(const FFMS_Frame *) FFMS_GetFrame(FFMS_VideoSource *V, int n, FFMS_ErrorInfo *ErrorInfo) {
141 ClearErrorInfo(ErrorInfo);
142 try {
143 return V->GetFrame(n);
144 } catch (FFMS_Exception &e) {
145 e.CopyOut(ErrorInfo);
146 return nullptr;
147 }
148}
149
150FFMS_API(const FFMS_Frame *) FFMS_GetFrameByTime(FFMS_VideoSource *V, double Time, FFMS_ErrorInfo *ErrorInfo) {
151 ClearErrorInfo(ErrorInfo);

Callers 5

TEST_PFunction · 0.85
GetVSFrameMethod · 0.85
InitOutputFormatMethod · 0.85
InitOutputFormatMethod · 0.85
GetFrameMethod · 0.85

Calls 3

ClearErrorInfoFunction · 0.85
CopyOutMethod · 0.80
GetFrameMethod · 0.45

Tested by

no test coverage detected