mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
graph: improve debug
This commit is contained in:
parent
5e21edd8d5
commit
65a8bc8b34
2 changed files with 10 additions and 3 deletions
|
|
@ -100,8 +100,10 @@ static inline int spa_graph_impl_have_output(void *data, struct spa_graph_node *
|
|||
struct spa_graph_node *pnode;
|
||||
uint32_t prequired, pready;
|
||||
|
||||
if ((pport = p->peer) == NULL)
|
||||
if ((pport = p->peer) == NULL) {
|
||||
spa_debug("node %p port %p has no peer", node, p);
|
||||
continue;
|
||||
}
|
||||
|
||||
pnode = pport->node;
|
||||
if (pport->io->status == SPA_RESULT_HAVE_BUFFER)
|
||||
|
|
|
|||
|
|
@ -24,14 +24,19 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <spa/graph.h>
|
||||
|
||||
#include <sys/socket.h>
|
||||
|
||||
|
||||
#include "pipewire/mem.h"
|
||||
#include "pipewire/pipewire.h"
|
||||
#include "pipewire/introspect.h"
|
||||
|
||||
#ifndef spa_debug
|
||||
#define spa_debug pw_log_trace
|
||||
#endif
|
||||
|
||||
#include <spa/graph.h>
|
||||
|
||||
struct pw_command;
|
||||
|
||||
typedef bool (*pw_command_func_t) (struct pw_command *command, struct pw_core *core, char **err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue