summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_decoder.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_decoder.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/vl/vl_decoder.c b/src/gallium/auxiliary/vl/vl_decoder.c
index f19834fb3d5..b325b8c61bb 100644
--- a/src/gallium/auxiliary/vl/vl_decoder.c
+++ b/src/gallium/auxiliary/vl/vl_decoder.c
@@ -33,7 +33,8 @@
#include "vl_mpeg12_decoder.h"
bool
-vl_profile_supported(struct pipe_screen *screen, enum pipe_video_profile profile)
+vl_profile_supported(struct pipe_screen *screen, enum pipe_video_profile profile,
+ enum pipe_video_entrypoint entrypoint)
{
assert(screen);
switch (u_reduce_video_profile(profile)) {
@@ -74,6 +75,7 @@ vl_create_decoder(struct pipe_context *pipe,
(
pipe->screen,
templat->profile,
+ templat->entrypoint,
PIPE_VIDEO_CAP_NPOT_TEXTURES
);