add 3D filters, closes #182
This commit is contained in:
parent
c0a74b0f26
commit
4272d2886e
1 changed files with 16 additions and 0 deletions
|
|
@ -127,6 +127,22 @@ export const QualityFilter = {
|
|||
return hdrProfiles.includes('DV') && hdrProfiles.includes('HDR');
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'threed',
|
||||
label: '3D',
|
||||
test(quality) {
|
||||
const hdrProfiles = quality?.split(' ')?.slice(1)?.join() || '';
|
||||
return hdrProfiles.includes('3D');
|
||||
}
|
||||
},
|
||||
{
|
||||
key: 'nonthreed',
|
||||
label: 'Non 3D',
|
||||
test(quality) {
|
||||
const hdrProfiles = quality?.split(' ')?.slice(1)?.join() || '';
|
||||
return !hdrProfiles.includes('3D');
|
||||
}
|
||||
},
|
||||
{
|
||||
key: '4k',
|
||||
label: '4k',
|
||||
|
|
|
|||
Loading…
Reference in a new issue