Commit
65e10683 added MPEG2 encoding for IVB but also for gen6.
This causes a missmatch between the profile(MPEG) and the pipeline
used(AVC).
Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu@intel.com>
vme_context->vme_media_rw_surface_setup = gen7_gpe_media_rw_surface_setup;
vme_context->vme_buffer_suface_setup = gen7_gpe_buffer_suface_setup;
} else {
- if (vme_context->video_coding_type == VIDEO_CODING_MPEG2) {
+ if (vme_context->video_coding_type == VIDEO_CODING_AVC) {
i965_gpe_load_kernels(ctx,
&vme_context->gpe_context,
gen6_vme_kernels,