diff options
Diffstat (limited to 'src/gallium/drivers/r600/r600_uvd.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_uvd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_uvd.c b/src/gallium/drivers/r600/r600_uvd.c index 62c8e525e12..288790591ce 100644 --- a/src/gallium/drivers/r600/r600_uvd.c +++ b/src/gallium/drivers/r600/r600_uvd.c @@ -180,15 +180,15 @@ int r600_uvd_get_video_param(struct pipe_screen *screen, /* UVD 2.x limits */ if (rscreen->family < CHIP_PALM) { - enum pipe_video_codec codec = u_reduce_video_profile(profile); + enum pipe_video_format codec = u_reduce_video_profile(profile); switch (param) { case PIPE_VIDEO_CAP_SUPPORTED: /* no support for MPEG4 */ - return codec != PIPE_VIDEO_CODEC_MPEG4; + return codec != PIPE_VIDEO_FORMAT_MPEG4; case PIPE_VIDEO_CAP_PREFERS_INTERLACED: case PIPE_VIDEO_CAP_SUPPORTS_INTERLACED: /* and MPEG2 only with shaders */ - return codec != PIPE_VIDEO_CODEC_MPEG12; + return codec != PIPE_VIDEO_FORMAT_MPEG12; default: break; } |