MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / Exit

Method Exit

src/render/plugins/ffmpeg_encoder/ffmpeg_encoder.cpp:276–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274 }
275
276 void FFmpegEncoder::Exit() {
277 av_packet_unref(packet_);
278 av_frame_free(&frame_);
279 if (codec_ctx_) {
280 avcodec_close(codec_ctx_);
281 }
282 avcodec_free_context(&codec_ctx_);
283 }
284
285 int32_t FFmpegEncoder::GetEncodeFps() {
286 return fps_stat_->value();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected