mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
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
This commit is contained in:
parent
25450bb252
commit
385ae7021f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user