mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-06-01 21:37:46 -04:00
remove debug messages
This commit is contained in:
parent
9abbda10ac
commit
587d37562f
1 changed files with 0 additions and 2 deletions
|
|
@ -1117,14 +1117,12 @@ static const struct spa_node_methods impl_node = {
|
||||||
static void session_event_info (void *data, const struct pw_session_info *info)
|
static void session_event_info (void *data, const struct pw_session_info *info)
|
||||||
{
|
{
|
||||||
struct pw_stream *stream = data;
|
struct pw_stream *stream = data;
|
||||||
pw_log_error("%p: stream has received session info", stream);
|
|
||||||
const char *services = spa_dict_lookup(info->props, PW_KEY_SESSION_SERVICES);
|
const char *services = spa_dict_lookup(info->props, PW_KEY_SESSION_SERVICES);
|
||||||
if (services == NULL || spa_streq(services, PW_SESSION_SERVICE_NONE)) {
|
if (services == NULL || spa_streq(services, PW_SESSION_SERVICE_NONE)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// some services are available, so the stream can now be considered
|
// some services are available, so the stream can now be considered
|
||||||
// connected, although more services may become available after this
|
// connected, although more services may become available after this
|
||||||
pw_log_error("%p: stream has received services: %s", stream, services); // TODO: switch to _debug after testing
|
|
||||||
if (stream->state == PW_STREAM_STATE_CONNECTING) {
|
if (stream->state == PW_STREAM_STATE_CONNECTING) {
|
||||||
stream_set_state(stream, PW_STREAM_STATE_PAUSED, NULL);
|
stream_set_state(stream, PW_STREAM_STATE_PAUSED, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue