[xiph-commits] r11379 - trunk/xiph-qt/OggImport/src

arek at svn.xiph.org arek at svn.xiph.org
Mon May 8 08:21:17 PDT 2006


Author: arek
Date: 2006-05-08 08:20:34 -0700 (Mon, 08 May 2006)
New Revision: 11379

Modified:
   trunk/xiph-qt/OggImport/src/OggImport.r
Log:
Updated importer's MIME settings.

Modified: trunk/xiph-qt/OggImport/src/OggImport.r
===================================================================
--- trunk/xiph-qt/OggImport/src/OggImport.r	2006-05-08 14:26:59 UTC (rev 11378)
+++ trunk/xiph-qt/OggImport/src/OggImport.r	2006-05-08 15:20:34 UTC (rev 11379)
@@ -90,7 +90,7 @@
 
 
 resource 'thng' (kImporterResID, OggImporterName, purgeable) {
-    kImporterComponentType, kCodecFormat, 'soun',
+    kImporterComponentType, kCodecFormat, 'vide',
     0, 0, 0, 0,
     'STR ', kImporterNameStringResID,
     'STR ', kImporterInfoStringResID,
@@ -118,7 +118,7 @@
     kImporterComponentType,             // Type
     'OGG ',                             // Subtype - this must be in uppercase.
                                         // It will match an ".ogg" suffix case-insensitively.
-    'soun',                             // Manufacturer
+    'vide',                             // Manufacturer
     kImporterFlags | movieImportSubTypeIsFileExtension,	// The subtype is a file name suffix
     0,                                  // Component Flags Mask
     0,                                  // Code Type
@@ -132,7 +132,7 @@
                 // TARGET COMPONENT ---------------
     kImporterComponentType,             // Type
     kCodecFormat,                       // SubType
-    'soun',                             // Manufaturer
+    'vide',                             // Manufaturer
     kImporterFlags,                     // Component Flags
     0,                                  // Component Flags Mask
     'thnr', kImporterResID, 0
@@ -143,7 +143,7 @@
     kImporterComponentType,             // Type
     'OGM ',                             // Subtype - this must be in uppercase.
                                         // It will match an ".ogm" suffix case-insensitively.
-    'soun',                             // Manufacturer
+    'vide',                             // Manufacturer
     kImporterFlags | movieImportSubTypeIsFileExtension,	// The subtype is a file name suffix
     0,                                  // Component Flags Mask
     0,                                  // Code Type
@@ -157,7 +157,7 @@
                 // TARGET COMPONENT ---------------
     kImporterComponentType,             // Type
     kCodecFormat,                       // SubType
-    'soun',                             // Manufaturer
+    'vide',                             // Manufaturer
     kImporterFlags,                     // Component Flags
     0,                                  // Component Flags Mask
     'thnr', kImporterResID, 0
@@ -167,7 +167,7 @@
 resource 'thga' (kImporterResID + 2, OggImporterName, purgeable) {
     kImporterComponentType,             // Type
     'SPX ',                             // Subtype - this must be in uppercase.
-                                        // It will match an ".ogm" suffix case-insensitively.
+                                        // It will match an ".spx" suffix case-insensitively.
     'soun',                             // Manufacturer
     kImporterFlags | movieImportSubTypeIsFileExtension,	// The subtype is a file name suffix
     0,                                  // Component Flags Mask
@@ -182,7 +182,7 @@
                                         // TARGET COMPONENT ---------------
     kImporterComponentType,             // Type
     kCodecFormat,                       // SubType
-    'soun',                             // Manufaturer
+    'vide',                             // Manufaturer
     kImporterFlags,                     // Component Flags
     0,                                  // Component Flags Mask
     'thnr', kImporterResID, 0
@@ -193,7 +193,7 @@
     kImporterComponentType,             // Type
     'ANX ',                             // Subtype - this must be in uppercase.
                                         // It will match an ".anx" suffix case-insensitively.
-    'soun',                             // Manufacturer
+    'vide',                             // Manufacturer
     kImporterFlags | movieImportSubTypeIsFileExtension,	// The subtype is a file name suffix
     0,                                  // Component Flags Mask
     0,                                  // Code Type
@@ -207,7 +207,7 @@
                 // TARGET COMPONENT ---------------
     kImporterComponentType,             // Type
     kCodecFormat,                       // SubType
-    'soun',                             // Manufaturer
+    'vide',                             // Manufaturer
     kImporterFlags,                     // Component Flags
     0,                                  // Component Flags Mask
     'thnr', kImporterResID, 0
@@ -231,7 +231,7 @@
 };
 
 resource 'STR ' (kImporterInfoStringResID, OggImporterName, purgeable) {
-    "Ogg " "0.1.3" " (See http://www.xiph.org)."
+    "Ogg " "0.1.6" " (See http://www.xiph.org)."
 };
 
 
@@ -252,19 +252,20 @@
         kMimeInfoFileExtensionTag, 3, "spx";
         kMimeInfoFileExtensionTag, 4, "spx";
         kMimeInfoFileExtensionTag, 5, "anx";
-        kMimeInfoDescriptionTag,   1, "Ogg Vorbis";
-        kMimeInfoDescriptionTag,   2, "Ogg Vorbis";
+        kMimeInfoDescriptionTag,   1, "Ogg Multimedia Bitstream";
+        kMimeInfoDescriptionTag,   2, "Ogg Multimedia Bitstream";
         kMimeInfoDescriptionTag,   3, "Ogg Speex";
         kMimeInfoDescriptionTag,   4, "Ogg Speex";
-        kMimeInfoDescriptionTag,   5, "Annodex";
+        kMimeInfoDescriptionTag,   5, "Annodex Media";
     };
 };
 
 resource 'mcfg' (kImporterResID, OggImporterName, purgeable) {
     kVersionDoesntMatter,
     {
-        kQTMediaConfigAudioGroupID,
+        kQTMediaConfigVideoGroupID,
         kQTMediaConfigBinaryFile | \
+            kQTMediaConfigTakeFileAssociationByDefault | \
             kQTMediaConfigCanUseApp | kQTMediaConfigCanUsePlugin | \
             kQTMediaConfigUsePluginByDefault,
         'OggS',
@@ -279,10 +280,10 @@
         },
 
         {
-            "Ogg Vorbis sound file",
+            "Ogg Multimedia Bitstream",
             "ogg",
             "QuickTime Player",
-            "Ogg Vorbis file importer",
+            "Ogg file importer",
             "",
         },
 
@@ -295,6 +296,7 @@
 //    {
         kQTMediaConfigAudioGroupID,
         kQTMediaConfigBinaryFile | \
+            kQTMediaConfigTakeFileAssociationByDefault | \
             kQTMediaConfigCanUseApp | kQTMediaConfigCanUsePlugin | \
             kQTMediaConfigUsePluginByDefault,
         'OggS',
@@ -309,7 +311,7 @@
         },
 
         {
-            "Ogg Speex sound file",
+            "Ogg Speex audio",
             "spx",
             "QuickTime Player",
             "Ogg Speex file importer",
@@ -323,8 +325,9 @@
         };
 //    };
 //    {
-        kQTMediaConfigAudioGroupID,
+        kQTMediaConfigVideoGroupID,
         kQTMediaConfigBinaryFile | \
+            kQTMediaConfigTakeFileAssociationByDefault | \
             kQTMediaConfigCanUseApp | kQTMediaConfigCanUsePlugin | \
             kQTMediaConfigUsePluginByDefault,
         'OggS',
@@ -339,7 +342,7 @@
         },
 
         {
-            "Annodex media file",
+            "Annodex Media",
             "anx",
             "QuickTime Player",
             "Annodex file importer",



More information about the commits mailing list