| 298 | } |
| 299 | |
| 300 | void AVCodecParametersWrapper::setSize(Size size) |
| 301 | { |
| 302 | if (this->libVer.avformat.major == 57 || this->libVer.avformat.major == 58 || |
| 303 | this->libVer.avformat.major == 59 || this->libVer.avformat.major == 60) |
| 304 | { |
| 305 | auto p = reinterpret_cast<AVCodecParameters_57_58_59_60 *>(this->param); |
| 306 | p->width = size.width; |
| 307 | p->height = size.height; |
| 308 | this->width = size.width; |
| 309 | this->height = size.height; |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | void AVCodecParametersWrapper::setAVPixelFormat(AVPixelFormat format) |
| 314 | { |
no outgoing calls
no test coverage detected