Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
OpenGLVideo: Fix video frame inversion again.
Refs #9276
  • Loading branch information
Mark Kendall committed Jun 25, 2011
1 parent d347640 commit 0d09c7a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions mythtv/libs/libmythtv/openglvideo.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 0d09c7a

Please sign in to comment.