mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Do not return inside player init
This commit is contained in:
@@ -20,7 +20,7 @@ class ClapperPlayerBase extends GstPlayer.Player
|
|||||||
const gtk4glsink = Gst.ElementFactory.make(plugin, null);
|
const gtk4glsink = Gst.ElementFactory.make(plugin, null);
|
||||||
|
|
||||||
if(!gtk4glsink) {
|
if(!gtk4glsink) {
|
||||||
return debug(new Error(
|
debug(new Error(
|
||||||
`Could not load "${plugin}".`
|
`Could not load "${plugin}".`
|
||||||
+ ' Do you have gstreamer-plugins-good-gtk4 installed?'
|
+ ' Do you have gstreamer-plugins-good-gtk4 installed?'
|
||||||
));
|
));
|
||||||
|
Reference in New Issue
Block a user