mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
linux-pipwire: Pass obs_pw_stream to renegotiation callback
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
This commit is contained in:
parent
ed2ade250f
commit
658657de35
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user