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

Method Reader

src/QtPlayer.cpp:205–212  ·  view source on GitHub ↗

Set the reader object

Source from the content-addressed store, hash-verified

203
204 // Set the reader object
205 void QtPlayer::Reader(openshot::ReaderBase *new_reader)
206 {
207 // Set new reader. Note: Be sure to close and dispose of the old reader after calling this
208 reader = new_reader;
209 p->reader = new_reader;
210 p->videoCache->Reader(new_reader);
211 p->audioPlayback->Reader(new_reader);
212 }
213
214 // Get the current reader, such as a FFmpegReader
215 openshot::ReaderBase* QtPlayer::Reader() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected