FastLED 3.9.15
Loading...
Searching...
No Matches

◆ begin()

bool fl::Video::begin ( fl::filebuf_ptr h)

Definition at line 38 of file video.cpp.hpp.

38 {
39 if (!mImpl) {
40 FL_WARN("Video::begin: mImpl is null, manually constructed videos "
41 "must include full parameters.");
42 return false;
43 }
44 if (!handle) {
45 mError = "filebuf is null";
46 FL_DBG(mError.c_str());
47 return false;
48 }
49 if (mError.size()) {
50 FL_DBG(mError.c_str());
51 return false;
52 }
53 mError.clear();
54 mImpl->begin(handle);
55 return true;
56}
string mError
Definition video.h:91
VideoImplPtr mImpl
Definition video.h:90
#define FL_WARN(X)
Definition log.h:276
#define FL_DBG
Definition log.h:388

References Video(), begin(), FL_DBG, FL_WARN, mError, and mImpl.

Referenced by begin(), and operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: