https://bugs.freedesktop.org/show_bug.cgi?id=110140
--- Comment #5 from leoxsliu@gmail.com --- This is about what the patch does: --- a/src/gallium/state_trackers/va/context.c +++ b/src/gallium/state_trackers/va/context.c @@ -175,7 +175,7 @@ VA_DRIVER_INIT_FUNC(VADriverContextP ctx) ctx->version_minor = 1; *ctx->vtable = vtable; *ctx->vtable_vpp = vtable_vpp; - ctx->max_profiles = PIPE_VIDEO_PROFILE_MPEG4_AVC_HIGH - PIPE_VIDEO_PROFILE_UNKNOWN; + ctx->max_profiles = PIPE_VIDEO_PROFILE_MAX - PIPE_VIDEO_PROFILE_UNKNOWN - 1;
It just correct the number of max_profile, that HW can support.
It's not make sense to me this would cause such issue based on the ticket, unless player wrongly use the this after querying this.
Can this be reproduced with Mesa master branch? or Can this be reproduced with any other players?