We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ed575f + bec21b1 commit 687a9ccCopy full SHA for 687a9cc
include/DummyReader.h
@@ -53,6 +53,12 @@ namespace openshot
53
* A dummy reader can be created with any framerate or samplerate. This is useful in unit
54
* tests that need to test different framerates or samplerates.
55
*
56
+ * @note Timeline does buffering by requesting more frames than it
57
+ * strictly needs. Thus if you use this DummyReader with a custom
58
+ * cache in a Timeline, make sure it has enough
59
+ * frames. Specifically you need some frames after the last frame
60
+ * you plan to access through the Timeline.
61
+ *
62
* @code
63
* // Create cache object to store fake Frame objects
64
* CacheMemory cache;
0 commit comments