Disable XvMC on DRI2 for now

This commit is contained in:
Zhenyu Wang 2008-12-04 09:24:31 +08:00
parent 293f6232c6
commit 32e7d47925
1 changed files with 6 additions and 0 deletions

View File

@ -52,6 +52,12 @@ Bool intel_xvmc_probe(ScrnInfoPtr pScrn)
I830Ptr pI830 = I830PTR(pScrn);
Bool ret = FALSE;
/* Disable XvMC on DRI2 for now */
if (pI830->directRenderingType == DRI_DRI2) {
pI830->XvMCEnabled = FALSE;
return FALSE;
}
if (!pI830->XvMCEnabled)
return FALSE;