summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2011-10-31 10:24:34 +0100
committerChristian König <[email protected]>2011-11-03 13:52:01 +0100
commitc4d47f065ae2a015a9d2e9a060d71e04d5935c2b (patch)
treecaa8dee7a3d5da3911310c4351df47b0c043a888 /src/gallium/state_trackers
parentc9c6eec1c6650623f1be412dc2acd935de6b728b (diff)
state_trackers/vdpau: Add num_slices to mpeg12 picture structure
Bitstream parsers might need that field. Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/vdpau/decode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c
index aacb9ea28dd..7689ce27793 100644
--- a/src/gallium/state_trackers/vdpau/decode.c
+++ b/src/gallium/state_trackers/vdpau/decode.c
@@ -233,6 +233,7 @@ vlVdpDecoderRenderMpeg12(struct pipe_video_decoder *decoder,
picture.f_code[0][1] = picture_info->f_code[0][1] - 1;
picture.f_code[1][0] = picture_info->f_code[1][0] - 1;
picture.f_code[1][1] = picture_info->f_code[1][1] - 1;
+ picture.num_slices = picture_info->slice_count;
decoder->set_picture_parameters(decoder, &picture.base);