31 #ifndef OPENSHOT_DUMMY_READER_H 32 #define OPENSHOT_DUMMY_READER_H 57 std::shared_ptr<openshot::Frame> image_frame;
81 std::shared_ptr<openshot::Frame>
GetFrame(int64_t requested_frame);
87 std::string
Name() {
return "DummyReader"; };
91 void SetJson(std::string value);
void SetJson(std::string value)
Load JSON string into this object.
Header file for Fraction class.
Json::Value JsonValue()
Generate Json::JsonValue for this object.
std::string Json()
Get and Set JSON methods.
Header file for ReaderBase class.
This class is used as a simple, dummy reader, which always returns a blank frame. ...
CacheMemory * GetCache()
Get the cache object used by this reader (always returns NULL for this reader)
This abstract class is the base class, used by all readers in libopenshot.
DummyReader()
Blank constructor for DummyReader, with default settings.
Header file for CacheMemory class.
Header file for all Exception classes.
void Open()
Open File - which is called by the constructor automatically.
This class represents a fraction.
std::shared_ptr< openshot::Frame > GetFrame(int64_t requested_frame)
bool IsOpen()
Determine if reader is open or closed.
This namespace is the default namespace for all code in the openshot library.
This class is a memory-based cache manager for Frame objects.
std::string Name()
Return the type name of the class.
void SetJsonValue(Json::Value root)
Load Json::JsonValue into this object.