diff options
author | Christian König <christian.koenig@amd.com> | 2013-07-15 03:48:04 -0600 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2013-08-19 10:21:15 +0200 |
commit | f2f7064e560a83fc78d0e5b1d3a7d4aaac119a49 (patch) | |
tree | de24046b5c46851ca3ef8507fd396cc0fb69abad /src/gallium/state_trackers/vdpau/decode.c | |
parent | 8e423ab98403135140a093be3c66c88b9a36ad5c (diff) |
vl: rename pipe_video_decoder to pipe_video_codec
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/decode.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/decode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c index e254c50c1f7..09927c564e8 100644 --- a/src/gallium/state_trackers/vdpau/decode.c +++ b/src/gallium/state_trackers/vdpau/decode.c @@ -44,7 +44,7 @@ vlVdpDecoderCreate(VdpDevice device, uint32_t max_references, VdpDecoder *decoder) { - struct pipe_video_decoder templat = {}; + struct pipe_video_codec templat = {}; struct pipe_context *pipe; struct pipe_screen *screen; vlVdpDevice *dev; @@ -97,7 +97,7 @@ vlVdpDecoderCreate(VdpDevice device, templat.height = height; templat.max_references = max_references; - vldecoder->decoder = pipe->create_video_decoder(pipe, &templat); + vldecoder->decoder = pipe->create_video_codec(pipe, &templat); if (!vldecoder->decoder) { ret = VDP_STATUS_ERROR; @@ -426,7 +426,7 @@ vlVdpDecoderRender(VdpDecoder decoder, vlVdpSurface *vlsurf; VdpStatus ret; struct pipe_screen *screen; - struct pipe_video_decoder *dec; + struct pipe_video_codec *dec; bool buffer_support[2]; unsigned i; union { |