Commit 118e1076 authored by gb's avatar gb

Fill in new VASliceParameterBufferMPEG2.slice_horizontal_position field.

This is needed for the Intel G45 driver.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19876 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 04cc0a4c
...@@ -131,6 +131,7 @@ static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t *buffer ...@@ -131,6 +131,7 @@ static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t *buffer
if (!slice_param) if (!slice_param)
return -1; return -1;
slice_param->macroblock_offset = macroblock_offset; slice_param->macroblock_offset = macroblock_offset;
slice_param->slice_horizontal_position = s->mb_x;
slice_param->slice_vertical_position = s->mb_y; slice_param->slice_vertical_position = s->mb_y;
slice_param->quantiser_scale_code = quantiser_scale_code; slice_param->quantiser_scale_code = quantiser_scale_code;
slice_param->intra_slice_flag = intra_slice_flag; slice_param->intra_slice_flag = intra_slice_flag;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment