mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
WIP change object model
This commit is contained in:
parent
190f01d88e
commit
c25ccbb4ba
44 changed files with 1557 additions and 2525 deletions
|
|
@ -34,12 +34,13 @@ typedef enum {
|
|||
SPA_RESULT_MODIFIED = 1,
|
||||
SPA_RESULT_OK = 0,
|
||||
SPA_RESULT_ERROR = -1,
|
||||
SPA_RESULT_INACTIVE = -2,
|
||||
SPA_RESULT_NO_FORMAT = -3,
|
||||
SPA_RESULT_INVALID_COMMAND = -4,
|
||||
SPA_RESULT_INVALID_PORT = -5,
|
||||
SPA_RESULT_HAVE_ENOUGH_INPUT = -6,
|
||||
SPA_RESULT_NEED_MORE_INPUT = -7,
|
||||
SPA_RESULT_ERRNO = -2,
|
||||
SPA_RESULT_INACTIVE = -3,
|
||||
SPA_RESULT_NO_FORMAT = -4,
|
||||
SPA_RESULT_INVALID_COMMAND = -5,
|
||||
SPA_RESULT_INVALID_PORT = -6,
|
||||
SPA_RESULT_HAVE_ENOUGH_INPUT = -7,
|
||||
SPA_RESULT_NEED_MORE_INPUT = -8,
|
||||
SPA_RESULT_PORTS_CHANGED = -9,
|
||||
SPA_RESULT_FORMAT_CHANGED = -10,
|
||||
SPA_RESULT_PROPERTIES_CHANGED = -11,
|
||||
|
|
|
|||
|
|
@ -515,6 +515,7 @@ spa_v4l2_source_node_port_enum_formats (SpaNode *node,
|
|||
|
||||
this = SPA_CONTAINER_OF (node, SpaV4l2Source, node);
|
||||
|
||||
spa_log_debug (this->log, "%p %d %d", this, direction, port_id);
|
||||
if (!CHECK_PORT (this, direction, port_id))
|
||||
return SPA_RESULT_INVALID_PORT;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue