summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2011-12-02 01:00:54 +0100
committerYounes Manton <[email protected]>2011-12-11 01:06:15 -0500
commit45bb4b79f6ddd1fdb447632c88333866585fb80c (patch)
tree7fa113da35d0c035a991507ee8dedc4a2b18e5f5 /src/gallium/state_trackers
parente809f4e54ced9fc5e8ac3e80537e42dbca9dbc72 (diff)
vl: Add missing mpeg fields to pipe_mpeg12_picture_desc
Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/vdpau/decode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c
index f1351298fa1..47212e348ed 100644
--- a/src/gallium/state_trackers/vdpau/decode.c
+++ b/src/gallium/state_trackers/vdpau/decode.c
@@ -245,6 +245,9 @@ vlVdpDecoderRenderMpeg12(struct pipe_video_decoder *decoder,
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;
+ picture.top_field_first = picture_info->top_field_first;
+ picture.full_pel_forward_vector = picture_info->full_pel_forward_vector;
+ picture.full_pel_backward_vector = picture_info->full_pel_backward_vector;
decoder->set_picture_parameters(decoder, &picture.base);