diff --git a/app/streaming/video/ffmpeg-renderers/sdlvid.cpp b/app/streaming/video/ffmpeg-renderers/sdlvid.cpp index 17236891..e87eecc6 100644 --- a/app/streaming/video/ffmpeg-renderers/sdlvid.cpp +++ b/app/streaming/video/ffmpeg-renderers/sdlvid.cpp @@ -376,7 +376,7 @@ ReadbackRetry: // Because the specific YUV color conversion shader is established at // texture creation for most SDL render backends, we need to recreate // the texture when the colorspace changes. - if (frame->colorspace != m_ColorSpace && frame->colorspace != AVCOL_SPC_UNSPECIFIED) { + if (frame->colorspace != m_ColorSpace) { if (m_Texture != nullptr) { SDL_DestroyTexture(m_Texture); m_Texture = nullptr;