From 5139aa6731eee851292dac35bad2472c15814e86 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Tue, 24 Apr 2018 14:24:02 +0200 Subject: [PATCH] config: Remove unsupported motion compensation entry point Signed-off-by: Paul Kocialkowski --- src/config.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/config.c b/src/config.c index 7f9c41f..aded3d3 100644 --- a/src/config.c +++ b/src/config.c @@ -46,7 +46,7 @@ VAStatus SunxiCedrusCreateConfig(VADriverContextP context, VAProfile profile, switch (profile) { case VAProfileMPEG2Simple: case VAProfileMPEG2Main: - if (entrypoint != VAEntrypointVLD && entrypoint != VAEntrypointMoComp) + if (entrypoint != VAEntrypointVLD) return VA_STATUS_ERROR_UNSUPPORTED_ENTRYPOINT; break; @@ -136,8 +136,7 @@ VAStatus SunxiCedrusQueryConfigEntrypoints(VADriverContextP context, case VAProfileMPEG2Simple: case VAProfileMPEG2Main: entrypoints[0] = VAEntrypointVLD; - entrypoints[1] = VAEntrypointMoComp; - *entrypoints_count = 2; + *entrypoints_count = 1; break; default: