diff options
author | Peter Frühberger <Peter.Fruehberger@gmail.com> | 2019-11-14 07:55:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-14 07:55:48 +0100 |
commit | e456f6283871db96380e3a1c4931bade49b2c57d (patch) | |
tree | d620a64f5bc13bb44c112ce31beecf49f2dde5e3 | |
parent | 08271a9c71a31110660e5d12a0d8573c545801d8 (diff) | |
parent | de2194d74e6fd8480d3dcc8577fa600961567b56 (diff) |
Merge pull request #16908 from fritsch/lverticalshift
RendererMediaCodecSurface: Announce vertical shift as well
-rw-r--r-- | xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererMediaCodecSurface.cpp | 7 |
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; |