node: add option to pause-on-idle

v4l2 is slower to start when we pause in idle. Disable this
behaviour with an option on the node.
This commit is contained in:
Wim Taymans 2018-02-20 12:28:19 +01:00
parent 920d098ea7
commit 2fe7197930
2 changed files with 24 additions and 3 deletions

View file

@ -861,6 +861,7 @@ static int impl_node_process_output(struct spa_node *node)
static const struct spa_dict_item info_items[] = {
{ "media.class", "Video/Source" },
{ "node.pause-on-idle", "false" },
};
static const struct spa_dict info = {