uxa/video: only call intel_xvmc_adaptor_init when xvmc is enabled

Build regression from

commit 616dea2c67
Author: Keith Packard <keithp@keithp.com>
Date:   Thu Jul 24 10:27:55 2014 -0700

    Rename uxa-specific functions and structs

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
This commit is contained in:
tobias.jakobi1@uni-bielefeld.de 2014-09-23 20:13:11 +02:00 committed by Chris Wilson
parent fe6ab444ad
commit b9dddc051d
1 changed files with 2 additions and 0 deletions

View File

@ -239,8 +239,10 @@ void intel_video_init(ScreenPtr screen)
intel->XvEnabled = FALSE;
}
#ifdef INTEL_XVMC
if (texturedAdaptor)
intel_xvmc_adaptor_init(screen);
#endif
free(adaptors);
}