Skip to content

Commit

Permalink
VDPAU: Ensure any deinterlacer option is picked up for direct rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Jun 24, 2019
1 parent 9646ac4 commit 0331f17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mythtv/libs/libmythtv/mythvdpauinterop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,12 @@ vector<MythVideoTexture*> MythVDPAUInterop::Acquire(MythRenderOpenGL *Context,
MythDeintType deinterlacer = DEINT_BASIC;
if (is_interlaced(Scan))
{
MythDeintType driverdeint = GetDoubleRateOption(Frame, DEINT_DRIVER | DEINT_CPU | DEINT_SHADER);
MythDeintType driverdeint = GetDoubleRateOption(Frame, DEINT_DRIVER | DEINT_CPU | DEINT_SHADER,
DEINT_ALL);
if (!driverdeint)
{
doublerate = false;
driverdeint = GetSingleRateOption(Frame, DEINT_DRIVER | DEINT_CPU | DEINT_SHADER);
driverdeint = GetSingleRateOption(Frame, DEINT_DRIVER | DEINT_CPU | DEINT_SHADER, DEINT_ALL);
}

if (driverdeint)
Expand Down

0 comments on commit 0331f17

Please sign in to comment.