Bitstream parsers might need that field.
Signed-off-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
unsigned concealment_motion_vectors;
unsigned intra_dc_precision;
unsigned f_code[2][2];
+ unsigned num_slices;
};
struct pipe_mpeg12_quant_matrix
picture.f_code[0][1] = picture_info->f_code[0][1] - 1;
picture.f_code[1][0] = picture_info->f_code[1][0] - 1;
picture.f_code[1][1] = picture_info->f_code[1][1] - 1;
+ picture.num_slices = picture_info->slice_count;
decoder->set_picture_parameters(decoder, &picture.base);