config: Remove unsupported motion compensation entry point

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-04-24 14:24:02 +02:00
parent 9716acc322
commit 5139aa6731
+2 -3
View File
@@ -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: