Skip to content

Commit

Permalink
OpenGLVideo: Remove the OpenGL bobdeint presentation adjustment
Browse files Browse the repository at this point in the history
- this clearly isn't working very well and will be replaced in the
shaders

refs #13376
  • Loading branch information
mark-kendall committed Jan 24, 2019
1 parent e785b3f commit 8419dac
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions mythtv/libs/libmythtv/openglvideo.cpp
Expand Up @@ -903,18 +903,6 @@ void OpenGLVideo::PrepareFrame(bool topfieldfirst, FrameScanType scan,
}
}

// hardware bobdeint
if (filter->outputBuffer == kDefaultBuffer &&
hardwareDeinterlacing &&
hardwareDeinterlacer == "openglbobdeint")
{
float bob = ((float)display.height() / (float)video_rect.height())
/ 2.0f;
float field = kScan_Interlaced ? -1.0f : 1.0f;
bob = bob * (topfieldfirst ? field : -field);
vrect.adjust(0, bob, 0, bob);
}

QOpenGLFramebufferObject *target = nullptr;
// bind correct frame buffer (default onscreen) and set viewport
switch (filter->outputBuffer)
Expand Down

0 comments on commit 8419dac

Please sign in to comment.