summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xvmc/context.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2013-07-15 03:48:04 -0600
committerChristian König <[email protected]>2013-08-19 10:21:15 +0200
commitf2f7064e560a83fc78d0e5b1d3a7d4aaac119a49 (patch)
treede24046b5c46851ca3ef8507fd396cc0fb69abad /src/gallium/state_trackers/xvmc/context.c
parent8e423ab98403135140a093be3c66c88b9a36ad5c (diff)
vl: rename pipe_video_decoder to pipe_video_codec
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xvmc/context.c')
-rw-r--r--src/gallium/state_trackers/xvmc/context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/xvmc/context.c b/src/gallium/state_trackers/xvmc/context.c
index d6301335b4b..fe12b5d0f6a 100644
--- a/src/gallium/state_trackers/xvmc/context.c
+++ b/src/gallium/state_trackers/xvmc/context.c
@@ -31,7 +31,7 @@
#include <X11/extensions/XvMClib.h>
#include "pipe/p_screen.h"
-#include "pipe/p_video_decoder.h"
+#include "pipe/p_video_codec.h"
#include "pipe/p_video_state.h"
#include "pipe/p_state.h"
@@ -191,7 +191,7 @@ Status XvMCCreateContext(Display *dpy, XvPortID port, int surface_type_id,
Status ret;
struct vl_screen *vscreen;
struct pipe_context *pipe;
- struct pipe_video_decoder templat = {};
+ struct pipe_video_codec templat = {};
XvMCContextPrivate *context_priv;
vl_csc_matrix csc;
@@ -253,7 +253,7 @@ Status XvMCCreateContext(Display *dpy, XvPortID port, int surface_type_id,
templat.max_references = 2;
templat.expect_chunked_decode = true;
- context_priv->decoder = pipe->create_video_decoder(pipe, &templat);
+ context_priv->decoder = pipe->create_video_codec(pipe, &templat);
if (!context_priv->decoder) {
XVMC_MSG(XVMC_ERR, "[XvMC] Could not create VL decoder.\n");