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

Method InterruptingCache

tests/VideoCacheThread.cpp:362–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360 public:
361 TestableVideoCacheThread* tcb;
362 InterruptingCache(int64_t maxb, TestableVideoCacheThread* t)
363 : CacheMemory(maxb), tcb(t) {}
364 void Add(std::shared_ptr<openshot::Frame> frame) override {
365 int64_t idx = frame->number; // use public member 'number'
366 CacheMemory::Add(frame);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected