MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / writeLatestVideoFrame

Method writeLatestVideoFrame

src/podcast/ffmpeg/UBFFmpegVideoEncoder.cpp:844–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

842}
843
844void UBFFmpegVideoEncoderWorker::writeLatestVideoFrame()
845{
846 AVFrame* frame = mImageQueue.dequeue();
847 writeFrame(frame, mVideoPacket, mController->mVideoStream, mController->mVideoCodecContext, mController->mOutputFormatContext);
848 av_freep(&frame->data[0]);
849 av_frame_free(&frame);
850}
851
852void UBFFmpegVideoEncoderWorker::writeLatestAudioFrame()
853{

Callers

nothing calls this directly

Calls 1

writeFrameFunction · 0.85

Tested by

no test coverage detected