Skip to content

linux-pipwire: Pass obs_pw_stream to renegotation callback - #9774

Merged
GeorgesStavracas merged 1 commit into
obsproject:masterfrom
kkartaltepe:pipewire-renegotiate-type
Oct 28, 2023
Merged

GeorgesStavracas merged 1 commit into
obsproject:masterfrom
kkartaltepe:pipewire-renegotiate-type

Conversation

@kkartaltepe

@kkartaltepe kkartaltepe commented Oct 28, 2023 •

Copy link
Copy Markdown
Collaborator

Description

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

Motivation and Context

Very wrong and crashing.

How Has This Been Tested?

Tested with hyprland and it fixes the issue.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@kkartaltepe
kkartaltepe force-pushed the pipewire-renegotiate-type branch from 99fdc9b to 3cc1feb Compare October 28, 2023 21:19
@RytoEX RytoEX added the kind/bug Categorizes issue or PR as related to a bug. label Oct 28, 2023
We were passing the core pipewire pointer where renegotiation expected
the stream pointer. Somehow this worked, probably because the two are
very close.

fixes obsproject#9733
@kkartaltepe
kkartaltepe force-pushed the pipewire-renegotiate-type branch from 3cc1feb to a7b5357 Compare October 28, 2023 21:25
@tytan652 tytan652 added this to the OBS Studio 30.0 milestone Oct 28, 2023
@tytan652 tytan652 added the platform/linux Categorizes issue or PR as affecting Linux specifically label Oct 28, 2023

@GeorgesStavracas GeorgesStavracas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is embarrasing. Thanks

@RytoEX this is cherry-pick material for 30.0

@GeorgesStavracas
GeorgesStavracas merged commit 658657d into obsproject:master Oct 28, 2023
@RytoEX RytoEX changed the title linux-pipwire: Pass obs_pw_stream to renegitation callback linux-pipwire: Pass obs_pw_stream to renegotation callback Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug. platform/linux Categorizes issue or PR as affecting Linux specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OBS Studio Crashes on Arch Linux after selecting screen (pipewire)

4 participants