| 263 | }; |
| 264 | |
| 265 | void NVDECLease::Return() { |
| 266 | if (decoder) { |
| 267 | owner->ReturnDecoder(decoder); |
| 268 | owner = nullptr; |
| 269 | decoder = nullptr; |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | int process_video_sequence(void *user_data, CUVIDEOFORMAT *video_format) { |
| 274 | FramesDecoderGpu *frames_decoder = static_cast<FramesDecoderGpu*>(user_data); |