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:
Maxime Ripard
2018-07-16 14:13:16 +02:00
parent 5aeb07f8bf
commit acc0cf3475
5 changed files with 13 additions and 5 deletions
+1
View File
@@ -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 };