Init reader info details
| 133 | |
| 134 | // Init reader info details |
| 135 | void Clip::init_reader_settings() { |
| 136 | if (reader) { |
| 137 | // Init rotation (if any) |
| 138 | init_reader_rotation(); |
| 139 | |
| 140 | // Initialize info struct |
| 141 | info = reader->info; |
| 142 | |
| 143 | // Init cache |
| 144 | final_cache.SetMaxBytesFromInfo(8, info.width, info.height, info.sample_rate, info.channels); |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | void Clip::init_reader_rotation() { |
| 149 | // Only apply metadata rotation if clip rotation has not been explicitly set. |
nothing calls this directly
no test coverage detected