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

@@ -317,7 +317,7 @@ var YouTubeClient = GObject.registerClass({
width: monitor.geometry.width * monitor.scale_factor,
height: monitor.geometry.height * monitor.scale_factor,
codec: 'h264',
types: ['standard', 'hfr'],
type: settings.get_string('yt-quality-type'),
};
const dashInfo = await this.getDashInfoAsync(info, itagOpts).catch(debug);