[FFmpeg-cvslog] r19876 - trunk/libavcodec/vaapi_mpeg2.c

gb subversion
Wed Sep 16 09:50:09 CEST 2009


Author: gb
Date: Wed Sep 16 09:50:09 2009
New Revision: 19876

Log:
Fill in new VASliceParameterBufferMPEG2.slice_horizontal_position field.
This is needed for the Intel G45 driver.

Modified:
   trunk/libavcodec/vaapi_mpeg2.c

Modified: trunk/libavcodec/vaapi_mpeg2.c
==============================================================================
--- trunk/libavcodec/vaapi_mpeg2.c	Wed Sep 16 09:49:08 2009	(r19875)
+++ trunk/libavcodec/vaapi_mpeg2.c	Wed Sep 16 09:50:09 2009	(r19876)
@@ -131,6 +131,7 @@ static int vaapi_mpeg2_decode_slice(AVCo
     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;



More information about the ffmpeg-cvslog mailing list