MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / GetFrame

Method GetFrame

tests/EffectMask.cpp:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 void Close() override { is_open = false; }
98
99 std::shared_ptr<openshot::Frame> GetFrame(int64_t number) override {
100 requests.push_back(number);
101 auto frame = std::make_shared<Frame>(number, width, height, "#00000000");
102 frame->GetImage()->fill(QColor(128, 128, 128, 255));
103 return frame;
104 }
105
106 std::string Json() const override {
107 return JsonValue().toStyledString();

Callers

nothing calls this directly

Calls 1

GetImageMethod · 0.80

Tested by

no test coverage detected