node: add some more port flags

Add port flags to mark physical and terminal ports
This commit is contained in:
Wim Taymans 2018-02-09 18:05:35 +01:00
parent 60177646e9
commit 342f0d59d0
5 changed files with 19 additions and 6 deletions

View file

@ -53,6 +53,10 @@ struct spa_port_info {
#define SPA_PORT_INFO_FLAG_NO_REF (1<<5) /**< the port does not keep a ref on the buffer */
#define SPA_PORT_INFO_FLAG_LIVE (1<<6) /**< output buffers from this port are
* timestamped against a live clock. */
#define SPA_PORT_INFO_FLAG_PHYSICAL (1<<7) /**< connects to some device */
#define SPA_PORT_INFO_FLAG_TERMINAL (1<<8) /**< data was not created from this port
* or will not be made available on another
* port */
uint32_t flags; /**< port flags */
uint32_t rate; /**< rate of sequence numbers on port */
const struct spa_dict *props; /**< extra port properties */