summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-04-02 23:16:21 +0200
committerChristian König <[email protected]>2011-04-02 23:16:21 +0200
commit7dc87676f203f1df935a97348e1fb15274be4642 (patch)
tree356e814e1b0a5260035534f9df809d090b2737e4 /src
parent59774e5c7a2756c5c430fc74bc80ea75d54f594d (diff)
vdpau: get state tracker to compile again
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/vdpau/decode.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c
index 048cfe819f0..b5e22883067 100644
--- a/src/gallium/state_trackers/vdpau/decode.c
+++ b/src/gallium/state_trackers/vdpau/decode.c
@@ -139,7 +139,8 @@ vlVdpCreateSurfaceTarget(vlVdpDecoder *vldecoder, vlVdpSurface *vlsurf)
memset(&tmplt, 0, sizeof(struct pipe_resource));
tmplt.target = PIPE_TEXTURE_2D;
- tmplt.format = vctx->get_param(vctx,PIPE_CAP_DECODE_TARGET_PREFERRED_FORMAT);
+ // TODO
+ //tmplt.format = vctx->get_param(vctx,PIPE_CAP_DECODE_TARGET_PREFERRED_FORMAT);
tmplt.last_level = 0;
tmplt.width0 = vlsurf->width;
tmplt.height0 = vlsurf->height;
@@ -218,9 +219,10 @@ vlVdpDecoderRenderMpeg2(vlVdpDecoder *vldecoder,
goto skip_frame;
}
- vpipe->set_decode_target(vpipe,t_surf);
- vpipe->decode_macroblocks(vpipe, p_surf, f_surf, num_macroblocks,
- (struct pipe_macroblock *)pipe_macroblocks, NULL);
+ // TODO
+ //vpipe->set_decode_target(vpipe,t_surf);
+ //vpipe->decode_macroblocks(vpipe, p_surf, f_surf, num_macroblocks,
+ // (struct pipe_macroblock *)pipe_macroblocks, NULL);
skip_frame:
return ret;