Skip to content

Commit

Permalink
linux-pipwire: Pass obs_pw_stream to renegotiation callback
Browse files Browse the repository at this point in the history
We were passing the core pipewire pointer where renegotiation expected
the stream pointer. Somehow this worked, probably because the two are
very close.

fixes #9733

(cherry picked from commit 658657d)
  • Loading branch information
kkartaltepe authored and RytoEX committed Oct 28, 2023
1 parent 59ff2b0 commit 18dd416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/linux-pipewire/pipewire.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ obs_pipewire_connect_stream(obs_pipewire *obs_pw, obs_source_t *source,
/* Signal to renegotiate */
obs_pw_stream->reneg =
pw_loop_add_event(pw_thread_loop_get_loop(obs_pw->thread_loop),
renegotiate_format, obs_pw);
renegotiate_format, obs_pw_stream);
blog(LOG_DEBUG, "[pipewire] registered event %p", obs_pw_stream->reneg);

/* Stream */
Expand Down

0 comments on commit 18dd416

Please sign in to comment.