SirLynix / obs-kinect

OBS Plugin to use a Kinect (all models supported) in OBS (and setup a virtual green screen based on depth and/or body detection).
GNU General Public License v2.0
425 stars 29 forks source link

look for libraries in /lib/obs-plugins #75

Closed o-kotb closed 1 year ago

o-kotb commented 1 year ago

This makes it find everything when in a Flatpak extension. I know this doesn't look right (I barely know c++), but I was hoping for os_dlopen to look for both the regular path and this one so that it doesn't affect regular non-flatpak installations. What do you think? Can both be added? I only reverted d7ea9d0 and changed the path.

Btw, kinect v2 fully works now! :D flatpak install https://dl.flathub.org/build-repo/128310/com.obsproject.Studio.Plugin.obs-kinect.flatpakref

SirLynix commented 1 year ago

Try with this last change, it should work and handle more configurations

o-kotb commented 1 year ago

I messed up the path with my last commit. It's supposed to be /app/plugins/lib/obs-plugins. I've put it to your commit... and everything works! :tada: If this all looks good to you, it can merge now.

SirLynix commented 1 year ago

Looks good, thank you!