summaryrefslogtreecommitdiff
path: root/src/gen6_vme.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen6_vme.c')
-rw-r--r--src/gen6_vme.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gen6_vme.c b/src/gen6_vme.c
index 69c667d..443dda8 100644
--- a/src/gen6_vme.c
+++ b/src/gen6_vme.c
@@ -649,9 +649,7 @@ Bool gen6_vme_context_init(VADriverContextP ctx, struct intel_encoder_context *e
{
struct gen6_vme_context *vme_context = NULL;
- if (encoder_context->profile != VAProfileH264Baseline &&
- encoder_context->profile != VAProfileH264Main &&
- encoder_context->profile != VAProfileH264High) {
+ if (encoder_context->codec != CODEC_H264) {
/* Never get here */
assert(0);
return False;