utils: libv4l2subdev: Set stream for g_routing
PATCH 1/1 utils: libv4l2subdev: Set stream for g_routing
Set the stream field for g_routing. This was missed in the original patch adding support for streams.
Fixes e300287381c6 ("media-ctl: Add support for routes and streams")
Signed-off-by Sakari Ailus <[email protected]>
--- utils/media-ctl/libv4l2subdev.c | 1 + 1 file changed, 1 insertion(+)
utils/media-ctl/libv4l2subdev.c +1 -0
@@ -166,6 +166,7 @@ int v4l2_subdev_get_selection(struct media_entity *entity,memset (&u.sel,0 ,sizeof (u.sel)); u.sel.pad = pad; + u.sel.stream = stream; u.sel.target = target; u.sel.which = which;
Signature · 1 line
2.39.2
Quoted 2 lines · Sakari Ailus
Set the stream field for
g_routing. This was missed in the original patch adding support for streams.
I think you mean g_selection, in both the subject and desc.
Other than that:
Reviewed-by Tomi Valkeinen <[email protected]>
Quoted 18 lines
Fixes e300287381c6 ("media-ctl: Add support for routes and streams")Signed-off-by Sakari Ailus <[email protected]>--- utils/media-ctl/libv4l2subdev.c | 1 + 1 file changed, 1 insertion(+)utils/media-ctl/libv4l2subdev.c +1
-0@@ -166,6 +166,7 @@ int v4l2_subdev_get_selection(struct media_entity *entity,memset (&u.sel,0 ,sizeof (u.sel)); u.sel.pad = pad; + u.sel.stream = stream; u.sel.target = target; u.sel.which = which;
Quoted 5 lines · Tomi Valkeinen
Quoted 2 lines · Sakari Ailus
Set the stream field for
g_routing. This was missed in the original patch adding support for streams.I think you mean
g_selection, in both the subject and desc.
Good point. I was thinking of routing but it's indeed about selection, as in the patch. I'll send v2.
Quoted 4 lines
Other than that:
Reviewed-by Tomi Valkeinen <[email protected]>
Thanks!
Signature · 1 line
Sakari Ailus