From f7f9959c1401e28d3f1526bf45abd8b8c74792bd Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Mon, 30 Nov 2020 22:18:02 +0100 Subject: [PATCH] Temporarly take a ref on player --- clapper_src/playerBase.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clapper_src/playerBase.js b/clapper_src/playerBase.js index 96036fb5..d34a24c5 100644 --- a/clapper_src/playerBase.js +++ b/clapper_src/playerBase.js @@ -71,6 +71,10 @@ class ClapperPlayerBase extends GstPlayer.Player this.set_and_bind_settings(); settings.connect('changed', this._onSettingsKeyChanged.bind(this)); + + /* FIXME: additional reference for working around GstPlayer + * buggy signal dispatcher on self. Remove when ported to BUS API */ + this.ref(); } get widget()