mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 00:11:59 +02:00
Customize external subtitles font
This commit is contained in:
@@ -89,7 +89,8 @@ class ClapperPlayerBase extends GstPlayer.Player
|
||||
for(let key of settingsToSet)
|
||||
this._onSettingsKeyChanged(settings, key);
|
||||
|
||||
//let flag = Gio.SettingsBindFlags.GET;
|
||||
let flag = Gio.SettingsBindFlags.GET;
|
||||
settings.bind('subtitle-font', this.pipeline, 'subtitle_font_desc', flag);
|
||||
}
|
||||
|
||||
set_initial_config()
|
||||
@@ -123,13 +124,6 @@ class ClapperPlayerBase extends GstPlayer.Player
|
||||
debug(`could not change option: ${option}`);
|
||||
}
|
||||
|
||||
/* FIXME: add in prefs and move to bind_settings() */
|
||||
set_subtitle_font_desc(desc)
|
||||
{
|
||||
let pipeline = this.get_pipeline();
|
||||
pipeline.subtitle_font_desc = desc;
|
||||
}
|
||||
|
||||
set_all_plugins_ranks()
|
||||
{
|
||||
let data = [];
|
||||
|
Reference in New Issue
Block a user