diff options
author | Wim Taymans <wtaymans@redhat.com> | 2019-04-30 15:42:17 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2019-04-30 15:42:17 +0200 |
commit | b01858931caeb8d025b4fdaa1fa13712aba6c119 (patch) | |
tree | 2095b73798b0428757285e1f7ca2ba453f57ecc5 /spa/plugins/v4l2/v4l2-source.c | |
parent | 636c02d38b7cf4418b578fcaf45631765e23ca2a (diff) |
v4l2: add camera media.role
Diffstat (limited to 'spa/plugins/v4l2/v4l2-source.c')
-rw-r--r-- | spa/plugins/v4l2/v4l2-source.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spa/plugins/v4l2/v4l2-source.c b/spa/plugins/v4l2/v4l2-source.c index 1b67da3f..f639d6d0 100644 --- a/spa/plugins/v4l2/v4l2-source.c +++ b/spa/plugins/v4l2/v4l2-source.c @@ -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" }, }; |