Skip to content

Commit 2e8ce23

Browse files
committed
fix: update audio and video formats in Formats class
1 parent eecd0bd commit 2e8ce23

1 file changed

Lines changed: 30 additions & 4 deletions

File tree

lib/utils/check_content_type.dart

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,67 @@ class Formats {
55
'aac',
66
'aiff',
77
'alac',
8+
'amr',
9+
'ape',
10+
'caf',
811
'cda',
912
'dsd',
13+
'dts',
1014
'flac',
1115
'm4a',
1216
'midi',
1317
'mp3',
18+
'mpc',
19+
'oga',
1420
'ogg',
1521
'opus',
1622
'raw',
23+
'spx',
24+
'tak',
25+
'tta',
1726
'wav',
1827
'wma',
28+
'wv',
1929
];
2030

2131
static const List<String> video = [
2232
'3gp',
33+
'amv',
34+
'asf',
2335
'avi',
36+
'divx',
2437
'dpx',
38+
'drc',
2539
'dv',
2640
'f4v',
2741
'flv',
28-
'he264',
29-
'hevc',
42+
'h264',
3043
'h265',
44+
'hevc',
45+
'm2ts',
46+
'm4p',
47+
'm4v',
3148
'mkv',
49+
'mng',
50+
'mov',
51+
'mp2',
3252
'mp4',
53+
'mpe',
3354
'mpeg',
3455
'mpg',
35-
'mov',
56+
'mpv',
57+
'mts',
58+
'mxf',
3659
'nsv',
60+
'ogv',
61+
'qt',
3762
'rm',
3863
'rmvb',
3964
'ts',
4065
'vob',
4166
'webm',
4267
'wmv',
68+
'yuv',
4369
];
4470

4571
static const List<String> image = [
@@ -53,12 +79,12 @@ class Formats {
5379
'jpg',
5480
'pbm',
5581
'pgm',
82+
'png',
5683
'ppm',
5784
'raw',
5885
'svg',
5986
'tiff',
6087
'webp',
61-
'png',
6288
];
6389
}
6490

0 commit comments

Comments
 (0)