diff options
-rw-r--r-- | xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp b/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp index af063416a8..75c2dda87a 100644 --- a/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp +++ b/xbmc/cores/VideoRenderers/LinuxRendererGLES.cpp @@ -2885,11 +2885,14 @@ bool CLinuxRendererGLES::Supports(ERENDERFEATURE feature) return itr != m_renderFeatures.end(); } - if(feature == RENDERFEATURE_BRIGHTNESS) - return true; + if (!(m_renderMethod & RENDER_MEDIACODECSURFACE)) + { + if(feature == RENDERFEATURE_BRIGHTNESS) + return true; - if(feature == RENDERFEATURE_CONTRAST) - return true; + if(feature == RENDERFEATURE_CONTRAST) + return true; + } if(feature == RENDERFEATURE_GAMMA) return false; |