diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-01-15 15:56:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 15:56:56 +0100 |
commit | 454c20fa7cdb05eba7f1be3c83389b54807af0b3 (patch) | |
tree | e9b364da69eaf88f0470414c506c3b5631984c60 /client/src/app/+my-library | |
parent | d43c6b1ffc5e6c895f9e9f9de6625f17a9755c20 (diff) | |
download | PeerTube-454c20fa7cdb05eba7f1be3c83389b54807af0b3.tar.gz PeerTube-454c20fa7cdb05eba7f1be3c83389b54807af0b3.tar.zst PeerTube-454c20fa7cdb05eba7f1be3c83389b54807af0b3.zip |
stricter youtubedl format selectors (#3516)
* stricter youtubedl format selectors
make sure selectors avoid av1, and otherwise match as closely to the
maximum resolution enabled for transcoding
* add support for merge formats in youtubedl
* avoid vp9.2 in youtubedl to avoid any HDR
* move getEnabledResolutions, safer replace of imported extension
* add test for youtube-dl selectors
Diffstat (limited to 'client/src/app/+my-library')
-rw-r--r-- | client/src/app/+my-library/my-video-imports/my-video-imports.component.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+my-library/my-video-imports/my-video-imports.component.html b/client/src/app/+my-library/my-video-imports/my-video-imports.component.html index 1d3a45f76..9ae85c0ca 100644 --- a/client/src/app/+my-library/my-video-imports/my-video-imports.component.html +++ b/client/src/app/+my-library/my-video-imports/my-video-imports.component.html | |||
@@ -23,8 +23,8 @@ | |||
23 | 23 | ||
24 | <ng-template pTemplate="body" let-expanded="expanded" let-videoImport> | 24 | <ng-template pTemplate="body" let-expanded="expanded" let-videoImport> |
25 | <tr> | 25 | <tr> |
26 | <td class="expand-cell"> | 26 | <td class="expand-cell c-hand" [pRowToggler]="videoImport" i18n-ngbTooltip ngbTooltip="See the error" placement="top-left" container="body"> |
27 | <span *ngIf="videoImport.error" class="expander" [pRowToggler]="videoImport" i18n-ngbTooltip ngbTooltip="See the error"> | 27 | <span *ngIf="videoImport.error" class="expander"> |
28 | <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> | 28 | <i [ngClass]="expanded ? 'glyphicon glyphicon-menu-down' : 'glyphicon glyphicon-menu-right'"></i> |
29 | </span> | 29 | </span> |
30 | </td> | 30 | </td> |
@@ -51,7 +51,7 @@ | |||
51 | </td> | 51 | </td> |
52 | 52 | ||
53 | <td> | 53 | <td> |
54 | <span class="badge" [ngClass]="getVideoImportStateClass(videoImport.state)"> | 54 | <span class="badge" [ngClass]="getVideoImportStateClass(videoImport.state.id)"> |
55 | {{ videoImport.state.label }} | 55 | {{ videoImport.state.label }} |
56 | </span> | 56 | </span> |
57 | </td> | 57 | </td> |