mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
use true and false for boolean properties
So that it's easier to convert them to booleans in introspection code later.
This commit is contained in:
parent
b60d7bf2bc
commit
c4b2be2aad
16 changed files with 28 additions and 28 deletions
|
|
@ -196,7 +196,7 @@ static void emit_node_info(struct impl *this, bool full)
|
|||
struct spa_dict_item items[1];
|
||||
|
||||
this->info.change_mask |= SPA_NODE_CHANGE_MASK_PROPS;
|
||||
items[0] = SPA_DICT_ITEM_INIT(SPA_KEY_NODE_DRIVER, this->driver ? "1" : "0");
|
||||
items[0] = SPA_DICT_ITEM_INIT(SPA_KEY_NODE_DRIVER, this->driver ? "true" : "false");
|
||||
this->info.props = &SPA_DICT_INIT(items, 1);
|
||||
|
||||
spa_node_emit_info(&this->hooks, &this->info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue