Skip to content

Commit 9e06c32

Browse files
llyyrDudemanguy
authored andcommitted
ao_pipewire: avoid passing NULL to mp_msg
1 parent 1a78f9f commit 9e06c32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

audio/out/ao_pipewire.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ static int pipewire_init_boilerplate(struct ao *ao)
520520
if (!p->core) {
521521
MP_MSG(ao, ao->probing ? MSGL_V : MSGL_ERR,
522522
"Could not connect to context '%s': %s\n",
523-
p->options.remote, mp_strerror(errno));
523+
p->options.remote ? p->options.remote : "(default)", mp_strerror(errno));
524524
pw_context_destroy(context);
525525
goto error;
526526
}

0 commit comments

Comments
 (0)