mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-04 23:39:59 +00:00
fix quality label for 720p yt videos
This commit is contained in:
parent
16f74094b9
commit
ff13ef7217
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ export default async function(o) {
|
|||
if (!o.isAudioOnly && !o.isAudioMuted && o.format === 'h264') {
|
||||
let single = info.streaming_data.formats.find(i => checkSingle(i));
|
||||
if (single) {
|
||||
filenameAttributes.qualityLabel = video.quality_label;
|
||||
filenameAttributes.qualityLabel = single.quality_label;
|
||||
filenameAttributes.resolution = `${single.width}x${single.height}`;
|
||||
filenameAttributes.extension = c[o.format].container;
|
||||
filenameAttributes.youtubeFormat = o.format;
|
||||
|
|
Loading…
Reference in a new issue