summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2007-12-26 09:37:34 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2007-12-26 09:37:34 +0800
commite75d0c20e3b02f649b62ac9da7f41bb43d0f3d80 (patch)
treea48c839a3a6cf8a1b9aab21de90541ad03542501 /src
parented9ff6f30fff33fe2d60715f1b503047f8e1ef01 (diff)
xvmc: make XvMC default on
Diffstat (limited to 'src')
-rw-r--r--src/i830_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 529ea0c0..1b0d07ab 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -327,7 +327,7 @@ static OptionInfoRec I830Options[] = {
#endif
{OPTION_TRIPLEBUFFER, "TripleBuffer", OPTV_BOOLEAN, {0}, FALSE},
#ifdef INTEL_XVMC
- {OPTION_XVMC, "XvMC", OPTV_BOOLEAN, {0}, FALSE},
+ {OPTION_XVMC, "XvMC", OPTV_BOOLEAN, {0}, TRUE},
#endif
{-1, NULL, OPTV_NONE, {0}, FALSE}
};
@@ -1595,7 +1595,7 @@ I830PreInit(ScrnInfoPtr pScrn, int flags)
#endif
#ifdef INTEL_XVMC
- pI830->XvMCEnabled = xf86ReturnOptValBool(pI830->Options, OPTION_XVMC, FALSE);
+ pI830->XvMCEnabled = xf86ReturnOptValBool(pI830->Options, OPTION_XVMC, TRUE);
xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Intel XvMC decoder %sabled\n",
pI830->XvMCEnabled ? "en" : "dis");
#endif