props: improve prop flags

Only keep the READONLY prop flag.
Work on test-mixer
This commit is contained in:
Wim Taymans 2017-03-31 11:48:24 +02:00
parent 7b8bb8da6b
commit 29fbf2e841
18 changed files with 244 additions and 238 deletions

View file

@ -130,9 +130,9 @@ update_state (SpaXvSink *this, SpaNodeState state)
}
#define PROP(f,key,type,...) \
SPA_POD_PROP (f,key,SPA_POD_PROP_FLAG_READWRITE,type,1,__VA_ARGS__)
SPA_POD_PROP (f,key,0,type,1,__VA_ARGS__)
#define PROP_R(f,key,type,...) \
SPA_POD_PROP (f,key,SPA_POD_PROP_FLAG_READABLE,type,1,__VA_ARGS__)
SPA_POD_PROP (f,key,SPA_POD_PROP_FLAG_READONLY,type,1,__VA_ARGS__)
static SpaResult
spa_xv_sink_node_get_props (SpaNode *node,