aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-09-16 07:50:09 +0000
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-09-16 07:50:09 +0000
commit385ae7021f370ad45f76a3d41997105cfe71eb7f (patch)
tree6dcc9b400a596de4336abc9ec3589217e07f1357 /libavcodec
parent25450bb252de89469278e3dd11252c8424b3ad63 (diff)
downloadffmpeg-385ae7021f370ad45f76a3d41997105cfe71eb7f.tar.gz
Fill in new VASliceParameterBufferMPEG2.slice_horizontal_position field.
This is needed for the Intel G45 driver. Originally committed as revision 19876 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vaapi_mpeg2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vaapi_mpeg2.c b/libavcodec/vaapi_mpeg2.c
index 2ae075ddf9..fbc99ae970 100644
--- a/libavcodec/vaapi_mpeg2.c
+++ b/libavcodec/vaapi_mpeg2.c
@@ -131,6 +131,7 @@ static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t *buffer
if (!slice_param)
return -1;
slice_param->macroblock_offset = macroblock_offset;
+ slice_param->slice_horizontal_position = s->mb_x;
slice_param->slice_vertical_position = s->mb_y;
slice_param->quantiser_scale_code = quantiser_scale_code;
slice_param->intra_slice_flag = intra_slice_flag;