v4l2: add camera media.role

This commit is contained in:
Wim Taymans 2019-04-30 15:42:17 +02:00
parent 636c02d38b
commit b01858931c
2 changed files with 1 additions and 1 deletions

View file

@ -29,7 +29,6 @@
#include <fcntl.h>
#include <poll.h>
#include <libudev.h>
#include <asoundlib.h>
#include <spa/support/log.h>

View file

@ -325,6 +325,7 @@ static int impl_node_send_command(struct spa_node *node, const struct spa_comman
static const struct spa_dict_item info_items[] = {
{ "media.class", "Video/Source" },
{ "media.role", "Camera" },
{ "node.pause-on-idle", "false" },
{ "node.driver", "true" },
};