From: Adrian Marius Negreanu Date: Mon, 18 Feb 2013 13:01:16 +0000 (+0200) Subject: gen6: MPEG2 is not supported by gen6 pipeline X-Git-Tag: submit/upstream/20130321.072122~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04d459f88353a5be82724e648bb30ddb37286d26;p=profile%2Fivi%2Fvaapi-intel-driver.git gen6: MPEG2 is not supported by gen6 pipeline 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 --- diff --git a/src/gen6_vme.c b/src/gen6_vme.c index 6e0a75b..95f2d08 100644 --- a/src/gen6_vme.c +++ b/src/gen6_vme.c @@ -991,7 +991,7 @@ Bool gen6_vme_context_init(VADriverContextP ctx, struct intel_encoder_context *e 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,