add filter to exclude when DV is together with HDR profile

This commit is contained in:
TheBeastLT 2024-05-19 10:05:10 +03:00
parent 08b3d393b7
commit f5915224d3

View file

@ -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',