From af6cf01c98d5620b92322b44d6049174dc7655d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Tue, 17 May 2022 22:06:45 +0200 Subject: [PATCH] player: Remove hardcoded ring buffer value We should aim to have this as a configurable option. Until then lets use the default value. --- src/player.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/player.js b/src/player.js index 02bdc3a9..5769aaa7 100644 --- a/src/player.js +++ b/src/player.js @@ -66,7 +66,6 @@ class ClapperPlayer extends GstClapper.Clapper this.needsTocUpdate = true; this.set_all_plugins_ranks(); - this.set_initial_config(); this.set_and_bind_settings(); this.connect('state-changed', this._onStateChanged.bind(this)); @@ -98,13 +97,6 @@ class ClapperPlayer extends GstClapper.Clapper settings.bind('subtitle-font', this.pipeline, 'subtitle-font-desc', flag); } - set_initial_config() - { - /* FIXME: change into option in preferences */ - const pipeline = this.get_pipeline(); - pipeline.ring_buffer_max_size = 8 * 1024 * 1024; - } - set_all_plugins_ranks() { let data = {};