mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
v4l2: fix sink/source and output/input names
This commit is contained in:
parent
2a83811297
commit
3cc577ddd6
2 changed files with 4 additions and 4 deletions
|
|
@ -156,9 +156,9 @@ static struct node *v4l2_create_node(struct device *dev, uint32_t id,
|
|||
str += 12;
|
||||
|
||||
if (strstr(info->factory_name, "sink") != NULL)
|
||||
prefix = "v4l2_input";
|
||||
else if (strstr(info->factory_name, "source") != NULL)
|
||||
prefix = "v4l2_output";
|
||||
else if (strstr(info->factory_name, "source") != NULL)
|
||||
prefix = "v4l2_input";
|
||||
else
|
||||
prefix = info->factory_name;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue