Re: [2/2] [new port] multimedia/obs-studio

Sebastian Reitenbach <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <CAEoLn6_SdQsbX+2FGpD5qZXZCLwzfmEoHTXAosnxHgYqNLCpZg@mail.gmail.com>
Hi,

with these additional patch to plugins/linux-v4l2/v4l2-input.c, I have
proper UYVY name as video format, without trailing garbage, as well as I
can switch to that format, without obs-studio segfaulting on me. Note:
patch developed in tandem with Gemini, there might be better ways to solve
the issue, don't know, but "works for me" ;)

With that, lightly tested micro input, camera, and some window shared.

cheers,
Sebastian


On Tue, Aug 18, 2026 at 11:24 AM Nazarenko Mykyta
<[email protected]> wrote:

> On Thu, 6 Aug 2026 14:59:47 +0100
> Stuart Henderson <[email protected]> wrote:
>
> > On 2026/08/04 15:28, Daniil Ryvkin wrote:
> > > You were right, adding -L to the linker flags was all that was
> needed.
> >
> > great. thanks for sticking with it after feedback :)
> >
> > two things I noticed reading through,
> >
> > - simple tweak that can be done by whoever imports (i.e. no need to send
> > a new tar): drop "WWW: https://obsproject.com/" from pkg/DESCR, OpenBSD
> > adds this automatically from HOMEPAGE
> >
> > with that, it's ok sthen to import.
> >
> >
> > the other is not a blocker but would be nice to do after import:
> >
> > - in the patch to frontend/utility/platform-x11.cpp, it would be
> > better to use XDG_RUNTIME_DIR from the environment if available.
> > setusercontext() tries to create the dir with user-restricted
> > permissions and sets that var if ok, so it's a safer choice
> > than /tmp/obs-studio.lock.<euid>.
> >
>
> Hola sthen@!
>
> Fixed all of this stuff, now logic in frontend/utility/platform-x11.cpp
> is looks pretty good, maybe import with that?
>
> And yes, big thanks to Daniil Ryvkin for working on this port :)
>
> With best regards,
> Nazarenko Mykyta
>


-- 
https://buzzdeee.reitenba.ch
obs-studio.tar.gz (application/gzip, 20.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.