Ticket #3125: fix_for_ticket_3125.diff

File fix_for_ticket_3125.diff, 633 bytes (added by skamithi, 19 years ago)

disable attempt to try and activate xvmc if UseXvmcForHDOnly is enabled. in the mythtv-vid branch, this type of fix is not needed cause video profiles better addresses this issue. So this is a workaround til mythtv-vid branch is merged back to svn.

  • libs/libmythtv/avformatdecoder.cpp

     
    748748        ringBuffer->Seek(0,SEEK_SET);
    749749        ringBuffer->DVD()->IgnoreStillOrWait(false);
    750750        QString dec = gContext->GetSetting("PreferredMPEG2Decoder", "ffmpeg");
    751         if (dec.contains("xvmc"))
     751        if (dec.contains("xvmc") &&
     752            !gContext->GetNumSetting("UseXvMCForHDOnly", 0))
     753        {
    752754            dvd_xvmc_enabled = true;
     755        }
    753756    }
    754757    else
    755758    {