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

arek at svn.xiph.org arek at svn.xiph.org
Sat Dec 10 12:15:27 PST 2005


Author: arek
Date: 2005-12-10 12:15:24 -0800 (Sat, 10 Dec 2005)
New Revision: 10576

Modified:
   trunk/xiph-qt/OggImport/src/OggImport.r
Log:
Changed importer component's MIME and file-association configuration resources.

Modified: trunk/xiph-qt/OggImport/src/OggImport.r
===================================================================
--- trunk/xiph-qt/OggImport/src/OggImport.r	2005-12-10 19:33:16 UTC (rev 10575)
+++ trunk/xiph-qt/OggImport/src/OggImport.r	2005-12-10 20:15:24 UTC (rev 10576)
@@ -37,6 +37,7 @@
 #define TARGET_REZ_CARBON_MACHO 1
 #include <CoreServices/CoreServices.r>
 #include <QuickTime/QuickTime.r>
+#include <QuickTime/QuickTimeComponents.r>
 #else
 #include "ConditionalMacros.r"
 #include "CoreServices.r"
@@ -190,8 +191,8 @@
 */
 resource 'mime' (kImporterResID, OggImporterName, purgeable) {
     {
-        kMimeInfoMimeTypeTag,      1, "application/x-ogg";
-        kMimeInfoMimeTypeTag,      2, "application/ogg";
+        kMimeInfoMimeTypeTag,      1, "application/ogg";
+        kMimeInfoMimeTypeTag,      2, "application/x-ogg";
         kMimeInfoMimeTypeTag,      3, "audio/x-speex";
         kMimeInfoMimeTypeTag,      4, "audio/speex";
         kMimeInfoFileExtensionTag, 1, "ogg";
@@ -209,7 +210,9 @@
     kVersionDoesntMatter,
     {
         kQTMediaConfigAudioGroupID,
-        kQTMediaConfigBinaryFile | kQTMediaConfigCanUseApp,
+        kQTMediaConfigBinaryFile | \
+            kQTMediaConfigCanUseApp | kQTMediaConfigCanUsePlugin | \
+            kQTMediaConfigUsePluginByDefault,
         'OggS',
         'TVOD',	/* we don't have a creator code for our files, hijack QT player */
         kImporterComponentType, kCodecFormat, kSoundComponentManufacturer,
@@ -237,7 +240,9 @@
 //    };
 //    {
         kQTMediaConfigAudioGroupID,
-        kQTMediaConfigBinaryFile | kQTMediaConfigCanUseApp,
+        kQTMediaConfigBinaryFile | \
+            kQTMediaConfigCanUseApp | kQTMediaConfigCanUsePlugin | \
+            kQTMediaConfigUsePluginByDefault,
         'OggS',
         'TVOD',	/* we don't have a creator code for our files, hijack QT player */
         kImporterComponentType, kCodecFormat, kSoundComponentManufacturer,



More information about the commits mailing list