changeset 10178:140aa1e7328b libavcodec

Fill in new VASliceParameterBufferMPEG2.slice_horizontal_position field. This is needed for the Intel G45 driver.
author gb
date Wed, 16 Sep 2009 07:50:09 +0000
parents 981143737752
children 0ac7e80ecc76
files vaapi_mpeg2.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vaapi_mpeg2.c	Wed Sep 16 07:49:08 2009 +0000
+++ b/vaapi_mpeg2.c	Wed Sep 16 07:50:09 2009 +0000
@@ -131,6 +131,7 @@
     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;