Changeset 1310
- Timestamp:
- 05/23/10 00:08:22 (2 years ago)
- Location:
- trunk
- Files:
-
- 5 modified
-
CodecIDs.h (modified) (1 diff)
-
MatroskaCodecIDs.cpp (modified) (1 diff)
-
MatroskaImport.r (modified) (4 diffs)
-
MatroskaImportPrivate.cpp (modified) (1 diff)
-
Plists/PerianOpener-Info.plist (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/CodecIDs.h
r1213 r1310 84 84 kVideoFormatIndeo2 = 'RT21', 85 85 kVideoFormatIndeo3 = 'IV32', 86 kVideoFormatVP8 = 'VP80', 86 87 87 88 kAudioFormatFlashADPCM = 'FlAd', -
trunk/MatroskaCodecIDs.cpp
r1246 r1310 814 814 { kVideoFormatXiphTheora, "V_THEORA" }, 815 815 { kVideoFormatSnow, "V_SNOW" }, 816 { kVideoFormatVP8, "V_VP8" }, 816 817 817 818 { kAudioFormatMPEG4AAC, "A_AAC" }, -
trunk/MatroskaImport.r
r1160 r1310 195 195 }; 196 196 197 // Component Alias 198 resource 'thga' (518) { 199 'eat ', // Type 200 'WEBM', // Subtype - this must be in uppercase. It will match an ".eim" suffix case-insensitively. 201 'vide', // Manufaturer - for 'eat ' the media type supported by the component 202 kMatroskaImportFlags | // Component Flags 203 movieImportSubTypeIsFileExtension, // The subtype is a file name suffix 204 0, // Component Flags Mask 205 0, // Code Type 206 0, // Code ID 207 'STR ', // Name Type 208 kMkvImportResource, // Name ID 209 0, // Info Type 210 0, // Info ID 211 0, // Icon Type 212 0, // Icon ID 213 // TARGET COMPONENT --------------- 214 'eat ', // Type 215 'MkvF', // SubType 216 'vide', // Manufaturer 217 0, // Component Flags 218 0, // Component Flags Mask 219 'thnr', kMkvImportResource, // Component public resource identifier 220 cmpAliasOnlyThisFile 221 }; 222 197 223 // Import components should include a public component resource holding the same data that 198 224 // MovieImportGetMIMETypeList would return. This public resource's type and ID should be 'mime' and 1, … … 263 289 { 264 290 "Matroska file", // Media type description for MIME configuration panel and browser 265 "mkv,mka ", // File extension(s), comma delimited if more than one291 "mkv,mka,webm", // File extension(s), comma delimited if more than one 266 292 "QuickTime Player", // Opening application name for MIME configuration panel and browser 267 293 "Matroska Movie Importer", // Missing software description for the missing software dialog … … 272 298 { 273 299 "video/x-matroska", 274 "audio/x-matroska", 300 "audio/x-matroska", 301 "audio/webm", 302 "video/webm", 275 303 }, 276 304 } … … 292 320 kMimeInfoMimeTypeTag, 1, "video/x-matroska"; 293 321 kMimeInfoMimeTypeTag, 2, "audio/x-matroska"; 322 kMimeInfoMimeTypeTag, 3, "audio/webm"; 323 kMimeInfoMimeTypeTag, 4, "video/webm"; 294 324 kMimeInfoFileExtensionTag, 1, "mkv"; 295 325 kMimeInfoFileExtensionTag, 2, "mka"; 326 kMimeInfoFileExtensionTag, 3, "webm"; 327 kMimeInfoFileExtensionTag, 4, "webm"; 296 328 kMimeInfoDescriptionTag, 1, "Matroska"; 297 329 kMimeInfoDescriptionTag, 2, "Matroska"; 330 kMimeInfoDescriptionTag, 3, "Matroska/WebM"; 331 kMimeInfoDescriptionTag, 4, "Matroska/WebM"; 298 332 }; 299 333 }; -
trunk/MatroskaImportPrivate.cpp
r1300 r1310 75 75 76 76 EDocType docType = GetChild<EDocType>(*head); 77 if (string(docType) != "matroska" ) {77 if (string(docType) != "matroska" && string(docType) != "webm") { 78 78 Codecprintf(NULL, "Not a Matroska file\n"); 79 79 valid = false; -
trunk/Plists/PerianOpener-Info.plist
r1300 r1310 56 56 <string>mkv</string> 57 57 <string>mka</string> 58 <string>webm</string> 58 59 </array> 59 60 <key>CFBundleTypeMIMETypes</key> … … 61 62 <string>video/x-matroska</string> 62 63 <string>audio/x-matroska</string> 64 <string>video/webm</string> 65 <string>audio/webm</string> 63 66 </array> 64 67 <key>CFBundleTypeName</key> … … 68 71 <string>MKV </string> 69 72 <string>MKA </string> 73 <string>WEBM</string> 70 74 </array> 71 75 <key>CFBundleTypeRole</key> … … 259 263 <string>mkv</string> 260 264 <string>mka</string> 265 <string>webm</string> 261 266 </array> 262 267 </dict>
