Set the reader object
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected