aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererMediaCodecSurface.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererMediaCodecSurface.cpp b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererMediaCodecSurface.cpp
index 7b4c9089d9..ea9dbdfcf4 100644
--- a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererMediaCodecSurface.cpp
+++ b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererMediaCodecSurface.cpp
@@ -116,10 +116,9 @@ void CRendererMediaCodecSurface::ReleaseBuffer(int idx)
bool CRendererMediaCodecSurface::Supports(ERENDERFEATURE feature)
{
- if (feature == RENDERFEATURE_ZOOM ||
- feature == RENDERFEATURE_STRETCH ||
- feature == RENDERFEATURE_PIXEL_RATIO ||
- feature == RENDERFEATURE_ROTATION)
+ if (feature == RENDERFEATURE_ZOOM || feature == RENDERFEATURE_STRETCH ||
+ feature == RENDERFEATURE_PIXEL_RATIO || feature == RENDERFEATURE_VERTICAL_SHIFT ||
+ feature == RENDERFEATURE_ROTATION)
return true;
return false;