summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_vc1.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2011-01-27 16:01:43 +0100
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2011-03-29 09:39:30 +0200
commita18e7b4fb77d3799cf21110b5e6dda4691a295b3 (patch)
tree202335d0131a8fa3f6738085d0c52aa632332ba8 /libavcodec/vaapi_vc1.c
parent5c98af952d07d9b0523af4e6bfdd0f2a35bf4d51 (diff)
vaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.
Diffstat (limited to 'libavcodec/vaapi_vc1.c')
-rw-r--r--libavcodec/vaapi_vc1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vaapi_vc1.c b/libavcodec/vaapi_vc1.c
index c61a5bd862..02186c3844 100644
--- a/libavcodec/vaapi_vc1.c
+++ b/libavcodec/vaapi_vc1.c
@@ -160,6 +160,7 @@ static int vaapi_vc1_start_frame(AVCodecContext *avctx, av_unused const uint8_t
pic_param->sequence_fields.bits.syncmarker = s->resync_marker;
pic_param->sequence_fields.bits.rangered = v->rangered;
pic_param->sequence_fields.bits.max_b_frames = s->avctx->max_b_frames;
+ pic_param->sequence_fields.bits.profile = v->profile;
pic_param->coded_width = s->avctx->coded_width;
pic_param->coded_height = s->avctx->coded_height;
pic_param->entrypoint_fields.value = 0; /* reset all bits */