forked from marfrit/libva-v4l2-request-fourier
h264: Don't set num_slices anymore
The num_slices parameter was improperly set to the number of reference frames, which is incorrect. Add a counter for the number of slices per surface, and set num_slices to that value. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
@@ -59,6 +59,7 @@ struct object_surface {
|
||||
unsigned int destination_buffers_count;
|
||||
|
||||
unsigned int slices_size;
|
||||
unsigned int slices_count;
|
||||
|
||||
union {
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user