mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
pipewire: allow setting metadata on more objects
The wireplumber unit test sets metadata on object 15, which happens to be a module. Allow metadata on other objects for now. It would be nice to disallow this in the future, though.
This commit is contained in:
parent
390f6c9cb8
commit
6e70fe459d
4 changed files with 4 additions and 4 deletions
|
|
@ -25,7 +25,7 @@ extern "C" {
|
|||
*/
|
||||
#define PW_TYPE_INTERFACE_Client PW_TYPE_INFO_INTERFACE_BASE "Client"
|
||||
|
||||
#define PW_CLIENT_PERM_MASK PW_PERM_RWX
|
||||
#define PW_CLIENT_PERM_MASK PW_PERM_RWXM
|
||||
|
||||
#define PW_VERSION_CLIENT 3
|
||||
struct pw_client;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ extern "C" {
|
|||
|
||||
#define PW_TYPE_INTERFACE_Device PW_TYPE_INFO_INTERFACE_BASE "Device"
|
||||
|
||||
#define PW_DEVICE_PERM_MASK PW_PERM_RWX
|
||||
#define PW_DEVICE_PERM_MASK PW_PERM_RWXM
|
||||
|
||||
#define PW_VERSION_DEVICE 3
|
||||
struct pw_device;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ extern "C" {
|
|||
*/
|
||||
#define PW_TYPE_INTERFACE_Factory PW_TYPE_INFO_INTERFACE_BASE "Factory"
|
||||
|
||||
#define PW_FACTORY_PERM_MASK PW_PERM_R
|
||||
#define PW_FACTORY_PERM_MASK PW_PERM_R|PW_PERM_M
|
||||
|
||||
#define PW_VERSION_FACTORY 3
|
||||
struct pw_factory;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ extern "C" {
|
|||
*/
|
||||
#define PW_TYPE_INTERFACE_Module PW_TYPE_INFO_INTERFACE_BASE "Module"
|
||||
|
||||
#define PW_MODULE_PERM_MASK PW_PERM_R
|
||||
#define PW_MODULE_PERM_MASK PW_PERM_R|PW_PERM_M
|
||||
|
||||
#define PW_VERSION_MODULE 3
|
||||
struct pw_module;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue