2017-04-04 17:58 GMT+02:00 Christian König <deathsim...@vodafone.de>: > Am 04.04.2017 um 17:38 schrieb boyuan.zh...@amd.com: >> >> From: Boyuan Zhang <boyuan.zh...@amd.com> >> >> Signed-off-by: Boyuan Zhang <boyuan.zh...@amd.com> > > > Reviewed-by: Christian König <christian.koe...@amd.com> >
Cc: stable? >> --- >> src/gallium/drivers/radeon/radeon_video.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/src/gallium/drivers/radeon/radeon_video.c >> b/src/gallium/drivers/radeon/radeon_video.c >> index 605a2c7..02e8dcf 100644 >> --- a/src/gallium/drivers/radeon/radeon_video.c >> +++ b/src/gallium/drivers/radeon/radeon_video.c >> @@ -221,7 +221,7 @@ int rvid_get_video_param(struct pipe_screen *screen, >> if (entrypoint == PIPE_VIDEO_ENTRYPOINT_ENCODE) { >> switch (param) { >> case PIPE_VIDEO_CAP_SUPPORTED: >> - return codec == PIPE_VIDEO_FORMAT_MPEG4_AVC && >> + return profile == >> PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE && >> rvce_is_fw_version_supported(rscreen); >> case PIPE_VIDEO_CAP_NPOT_TEXTURES: >> return 1; > > > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev