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

Method GetFrame

tests/Timeline.cpp:87–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 void Close() override { is_open = false; }
86
87 std::shared_ptr<openshot::Frame> GetFrame(int64_t number) override {
88 requests.push_back(number);
89 auto frame = std::make_shared<Frame>(number, width, height, "#00000000");
90 frame->GetImage()->fill(QColor(128, 128, 128, 255));
91 return frame;
92 }
93
94 std::string Json() const override { return JsonValue().toStyledString(); }
95 Json::Value JsonValue() const override {

Callers

nothing calls this directly

Calls 1

GetImageMethod · 0.80

Tested by

no test coverage detected