summaryrefslogtreecommitdiff
path: root/src/i965_drv_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i965_drv_video.c')
-rw-r--r--src/i965_drv_video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index a9d6700..3e479be 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -5669,6 +5669,9 @@ i965_Init(VADriverContextP ctx)
break;
}
+ if (i965->codec_info->preinit_hw_codec)
+ i965->codec_info->preinit_hw_codec(ctx, i965->codec_info);
+
if (i == ARRAY_ELEMS(i965_sub_ops)) {
switch (i965->intel.device_id) {
#undef CHIPSET