add filter to exclude when DV is together with HDR profile
This commit is contained in:
parent
08b3d393b7
commit
f5915224d3
1 changed files with 8 additions and 0 deletions
|
|
@ -119,6 +119,14 @@ export const QualityFilter = {
|
|||
return hdrProfiles === 'DV';
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'dolbyvisionwithhdr',
|
||||
label: 'Dolby Vision + HDR',
|
||||
test(quality) {
|
||||
const hdrProfiles = quality?.split(' ')?.slice(1)?.join() || '';
|
||||
return hdrProfiles.includes('DV') && hdrProfiles.includes('HDR');
|
||||
}
|
||||
},
|
||||
{
|
||||
key: '4k',
|
||||
label: '4k',
|
||||
|
|
|
|||
Loading…
Reference in a new issue