jonian / acestream-launcher

AceStream Launcher opens AceStream links with any Media Player
GNU General Public License v3.0
151 stars 20 forks source link

Clear google-chrome's LD_LIBRARY_PATH before spawning the player #44

Open aleasto opened 2 years ago

aleasto commented 2 years ago

Google Chrome ships with bundled libvulkan.so.1 and links to it by setting LD_LIBRARY_PATH in the startup script.

When acestream-launcher is invoked from chrome through the acestream:// protocol, the environment variables are passed in and eventually passed to the player.

In fedora + rpmfusion, when mpv is spawned it fails to link because it attempts to link against google's build of libvulkan instead of the system provided library.


This is hacky but i think it's fine to fix the issue in acestream-launcher even though it's not its fault, since it's the bridge between the browser and mpv