forked from marfrit/libva-v4l2-request-fourier
config: Remove unsupported motion compensation entry point
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
+2
-3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user