Open image file
| 77 | |
| 78 | // Open image file |
| 79 | void DummyReader::Open() |
| 80 | { |
| 81 | // Open reader if not already open |
| 82 | if (!is_open) |
| 83 | { |
| 84 | // Create or get frame object |
| 85 | image_frame = std::make_shared<Frame>(1, info.width, info.height, "#000000", info.sample_rate, info.channels); |
| 86 | |
| 87 | // Mark as "open" |
| 88 | is_open = true; |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | // Close image file |
| 93 | void DummyReader::Close() |
nothing calls this directly
no outgoing calls
no test coverage detected