Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 873207 Details for
Bug 916030
media-video/obs-studio: segfault on gui-libs/xdg-desktop-portal-wlr integration on gui-wm/sway
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
obs-studio-29.1.3-pipewire-segfault-916030
obs-studio-29.1.3-pipewire-segfault-916030.patch (text/plain), 1.07 KB, created by
Chiitoo
on 2023-10-22 15:02:08 UTC
(
hide
)
Description:
obs-studio-29.1.3-pipewire-segfault-916030
Filename:
MIME Type:
Creator:
Chiitoo
Created:
2023-10-22 15:02:08 UTC
Size:
1.07 KB
patch
obsolete
>From b7f97b8dafef3276d0c1a35a580e11e537da0760 Mon Sep 17 00:00:00 2001 >From: Kurt Kartaltepe <kkartaltepe@gmail.com> >Date: Sat, 21 Oct 2023 16:29:44 -0700 >Subject: [PATCH] linux-pipewire: Load glad symbols on start > >After the cmake 3.0 rebuild glad was transitioned to a shared library. >This lead to the glad symbols being uninitialized and crashes when they >are used in some cases. >--- > plugins/linux-pipewire/linux-pipewire.c | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/plugins/linux-pipewire/linux-pipewire.c b/plugins/linux-pipewire/linux-pipewire.c >index 798ae2fe8ca9f..f9acfe127ebdb 100644 >--- a/plugins/linux-pipewire/linux-pipewire.c >+++ b/plugins/linux-pipewire/linux-pipewire.c >@@ -21,6 +21,7 @@ > > #include <obs-module.h> > #include <obs-nix-platform.h> >+#include <glad/glad.h> > > #include <pipewire/pipewire.h> > #include "screencast-portal.h" >@@ -34,6 +35,10 @@ MODULE_EXPORT const char *obs_module_description(void) > > bool obs_module_load(void) > { >+ obs_enter_graphics(); >+ gladLoadGL(); >+ obs_leave_graphics(); >+ > pw_init(NULL, NULL); > > screencast_portal_load();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 916030
:
873167
|
873168
|
873169
|
873207