Skip to content
Permalink
Browse files

omxplayer: squash: ignore rectangles from right eye

  • Loading branch information
popcornmix committed Nov 3, 2015
1 parent 21f665a commit b3b05771201e7d61ffd6faaf4d8a8679b2079ace
@@ -345,6 +345,7 @@ void CBaseRenderer::ManageDisplay()
else if(stereo_view == RENDER_STEREO_VIEW_RIGHT) stereo_view = RENDER_STEREO_VIEW_LEFT;
}

if (m_format != RENDER_FMT_BYPASS)
switch(stereo_mode)
{
case CONF_FLAGS_STEREO_MODE_TAB:
@@ -646,8 +646,6 @@ int OMXPlayerVideo::GetFreeSpace()

void OMXPlayerVideo::SetVideoRect(const CRect &InSrcRect, const CRect &InDestRect)
{
assert(g_graphicsContext.GetStereoView() != RENDER_STEREO_VIEW_RIGHT);

CRect SrcRect = InSrcRect, DestRect = InDestRect;
unsigned flags = GetStereoModeFlags(GetStereoMode());
RENDER_STEREO_MODE video_stereo_mode = (flags & CONF_FLAGS_STEREO_MODE_SBS) ? RENDER_STEREO_MODE_SPLIT_VERTICAL :

0 comments on commit b3b0577

Please sign in to comment.
You can’t perform that action at this time.