diff options
Diffstat (limited to 'src/gallium/state_trackers/va/context.c')
-rw-r--r-- | src/gallium/state_trackers/va/context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c index 836aa77c36c..14e904ee490 100644 --- a/src/gallium/state_trackers/va/context.c +++ b/src/gallium/state_trackers/va/context.c @@ -288,6 +288,10 @@ vlVaCreateContext(VADriverContextP ctx, VAConfigID config_id, int picture_width, } break; + case PIPE_VIDEO_FORMAT_VP9: + context->templat.max_references = num_render_targets; + break; + default: break; } |