Skip to contentSkip to conversation

utils: libv4l2subdev: Set stream for g_routing

PATCH Superseded Sakari Ailus 1 participant 1 message Sep 6, 2023 Media (V4L/DVB)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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")
---
 utils/media-ctl/libv4l2subdev.c | 1 +
 1 file changed, 1 insertion(+)
utils/media-ctl/libv4l2subdev.c +1 -0
index 16e1284cc0a3..c614f4a2e0fd 100644
@@ -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