[FFmpeg Decoder] Enable Metroska and WebM videos
Enable playback of video file extensions. Like other video formats handled by the FFmpeg decoder, video streams are dropped in decode and only the first audio stream is played. Signed-off-by: Christopher Snowhill <kode54@gmail.com>xcode15
parent
ebe301a9b8
commit
a474b469fa
|
@ -969,6 +969,24 @@
|
|||
<key>LSTypeIsPackage</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>mkv</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>song.icns</string>
|
||||
<key>CFBundleTypeIconSystemGenerated</key>
|
||||
<integer>1</integer>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>Matroska Video File</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
<key>LSHandlerRank</key>
|
||||
<string>Default</string>
|
||||
<key>LSTypeIsPackage</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
|
@ -987,6 +1005,24 @@
|
|||
<key>LSTypeIsPackage</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>webm</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>song.icns</string>
|
||||
<key>CFBundleTypeIconSystemGenerated</key>
|
||||
<integer>1</integer>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>WebM Media File</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
<key>LSHandlerRank</key>
|
||||
<string>Default</string>
|
||||
<key>LSTypeIsPackage</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
|
|
|
@ -998,7 +998,7 @@ static uint8_t reverse_bits[0x100];
|
|||
}
|
||||
|
||||
+ (NSArray *)fileTypes {
|
||||
return @[@"wma", @"asf", @"tak", @"mp4", @"m4a", @"m4b", @"m4r", @"aac", @"mp3", @"mp2", @"m2a", @"mpa", @"ape", @"ac3", @"dts", @"dtshd", @"wav", @"tta", @"vqf", @"vqe", @"vql", @"ra", @"rm", @"rmj", @"mka", @"weba", @"dsf", @"dff", @"iff", @"dsdiff", @"wsd", @"aiff", @"aif"];
|
||||
return @[@"wma", @"asf", @"tak", @"mp4", @"m4a", @"m4b", @"m4r", @"aac", @"mp3", @"mp2", @"m2a", @"mpa", @"ape", @"ac3", @"dts", @"dtshd", @"wav", @"tta", @"vqf", @"vqe", @"vql", @"ra", @"rm", @"rmj", @"mka", @"mkv", @"weba", @"webm", @"dsf", @"dff", @"iff", @"dsdiff", @"wsd", @"aiff", @"aif"];
|
||||
}
|
||||
|
||||
+ (NSArray *)mimeTypes {
|
||||
|
@ -1020,7 +1020,9 @@ static uint8_t reverse_bits[0x100];
|
|||
@[@"TrueVQ Audio File", @"song.icns", @"vqf", @"vqe", @"vql"],
|
||||
@[@"Real Audio File", @"song.icns", @"ra", @"rm", @"rmj"],
|
||||
@[@"Matroska Audio File", @"song.icns", @"mka"],
|
||||
@[@"Matroska Video File", @"song.icns", @"mkv"],
|
||||
@[@"WebM Audio File", @"song.icns", @"weba"],
|
||||
@[@"WebM Media File", @"song.icns", @"webm"],
|
||||
@[@"DSD Stream File", @"song.icns", @"dsf"],
|
||||
@[@"Interchange File Format", @"song.icns", @"iff", @"dsdiff"],
|
||||
@[@"Wideband Single-bit Data", @"song.icns", @"wsd"],
|
||||
|
|
Loading…
Reference in New Issue