From e31bfc78acfab10d3c25eed74fbcfe4eba517047 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 21 Feb 2020 16:49:53 +0100 Subject: [PATCH] videotestsrc: mark as driver by default --- spa/plugins/videotestsrc/videotestsrc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spa/plugins/videotestsrc/videotestsrc.c b/spa/plugins/videotestsrc/videotestsrc.c index fb89ffa5e..5aebf8b92 100644 --- a/spa/plugins/videotestsrc/videotestsrc.c +++ b/spa/plugins/videotestsrc/videotestsrc.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include @@ -50,7 +51,7 @@ enum pattern { PATTERN_SNOW, }; -#define DEFAULT_LIVE false +#define DEFAULT_LIVE true #define DEFAULT_PATTERN PATTERN_SMPTE_SNOW struct props { @@ -398,6 +399,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman static const struct spa_dict_item node_info_items[] = { { SPA_KEY_MEDIA_CLASS, "Video/Source" }, + { SPA_KEY_NODE_DRIVER, "true" }, }; static void emit_node_info(struct impl *this, bool full)