Add some YouTube related preferences

This commit is contained in:
Rafał Dzięgiel
2021-04-16 10:35:34 +02:00
parent 3a998fb91e
commit 2fd94fdc70
5 changed files with 32 additions and 4 deletions

View File

@@ -132,6 +132,22 @@ class ClapperNetworkPage extends PrefsBase.Grid
}
});
var YouTubePage = GObject.registerClass(
class ClapperYouTubePage extends PrefsBase.Grid
{
_init()
{
super._init();
this.addTitle('YouTube');
this.addCheckButton('Adaptive streaming', 'yt-adaptive-enabled');
this.addComboBoxText('Max quality', [
['normal', "Normal"],
['hfr', "HFR"],
], 'yt-quality-type');
}
});
var GStreamerPage = GObject.registerClass(
class ClapperGStreamerPage extends PrefsBase.Grid
{