Skip to content
Permalink
Browse files

OpenGLVideo: Fix video frame inversion again.

Refs #9276
  • Loading branch information
Mark Kendall
Mark Kendall committed Jun 25, 2011
1 parent d347640 commit 0d09c7aaafe94c6d7d97b67dea1fb6124a617a0c
Showing with 10 additions and 2 deletions.
  1. +10 −2 mythtv/libs/libmythtv/openglvideo.cpp
@@ -940,8 +940,16 @@ void OpenGLVideo::PrepareFrame(bool topfieldfirst, FrameScanType scan,
// invert if first filter
if (it == filters.begin())
{
vrect.setTop((visible.height()) - display.top());
vrect.setBottom(vrect.top() - (display.height()));
if (filters.size() > 1)
{
vrect.setTop((visible.height()) - display.top());
vrect.setBottom(vrect.top() - (display.height()));
}
else
{
vrect.setBottom(display.top());
vrect.setTop(display.top() + (display.height()));
}
}

// hardware bobdeint

0 comments on commit 0d09c7a

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