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

Method Reader

src/FrameMapper.cpp:67–74  ·  view source on GitHub ↗

Get the current reader

Source from the content-addressed store, hash-verified

65
66/// Get the current reader
67ReaderBase* FrameMapper::Reader()
68{
69 if (reader)
70 return reader;
71 else
72 // Throw error if reader not initialized
73 throw ReaderClosed("No Reader has been initialized for FrameMapper. Call Reader(*reader) before calling this method.");
74}
75
76void FrameMapper::AddField(int64_t frame)
77{

Callers

nothing calls this directly

Calls 1

ReaderClosedClass · 0.85

Tested by

no test coverage detected