diff --git a/app/streaming/video/ffmpeg-renderers/eglvid.cpp b/app/streaming/video/ffmpeg-renderers/eglvid.cpp index ce9607d8..a30b29ef 100644 --- a/app/streaming/video/ffmpeg-renderers/eglvid.cpp +++ b/app/streaming/video/ffmpeg-renderers/eglvid.cpp @@ -792,6 +792,5 @@ void EGLRenderer::renderFrame(AVFrame* frame) glFinish(); } - if (frame->hw_frames_ctx != nullptr) - m_Backend->freeEGLImages(m_EGLDisplay, imgs); + m_Backend->freeEGLImages(m_EGLDisplay, imgs); }