Fix a typo introduced with commit d1ba1055d9 - vl: Add support for max level query v2
Cc: Rico Schüller <[email protected]> Cc: Christian König <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68126 Signed-off-by: Emil Velikov <[email protected]> --- FWIW the original patch could have introduced default params for all profiles, and let the individual driver provide their own function to ease duplication. A call to get_params(VIDEO_CAP_SUPPORTED) ensures that we do not request the CAP_MAX_LEVEL of a unsupported profile src/gallium/drivers/nouveau/nouveau_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/nouveau_video.c b/src/gallium/drivers/nouveau/nouveau_video.c index 1563b22..5c4ec0f 100644 --- a/src/gallium/drivers/nouveau/nouveau_video.c +++ b/src/gallium/drivers/nouveau/nouveau_video.c @@ -863,7 +863,7 @@ nouveau_screen_get_video_param(struct pipe_screen *pscreen, case PIPE_VIDEO_CAP_SUPPORTS_PROGRESSIVE: return true; case PIPE_VIDEO_CAP_MAX_LEVEL: - return vl_level_supported(screen, profile); + return vl_level_supported(pscreen, profile); default: debug_printf("unknown video param: %d\n", param); return 0; -- 1.8.3.4 _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
