forked from marfrit/libva-v4l2-request-fourier
codecs: pass the context to the controls function as well
Some functions setting the controls will need the context in the future. Make sure that we provide it as an argument. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
@@ -231,6 +231,7 @@ static void h264_va_slice_to_v4l2(struct cedrus_data *driver_data,
|
||||
}
|
||||
|
||||
int h264_set_controls(struct cedrus_data *driver_data,
|
||||
struct object_context *context,
|
||||
struct object_surface *surface)
|
||||
{
|
||||
struct v4l2_ctrl_h264_scaling_matrix matrix = { 0 };
|
||||
|
||||
Reference in New Issue
Block a user