[Player-cvs] kit/android mediascanner.cpp, 1.1.2.15.4.2, 1.1.2.15.4.3

[Player-cvs] kit/android mediascanner.cpp, 1.1.2.15.4.2, 1.1.2.15.4.3

kliu at helixcommunity.org kliu at helixcommunity.org
Thu Nov 18 03:54:56 PST 2010


Update of /cvsroot/player/kit/android
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv15487

Modified Files:
      Tag: hxclient_3_6_2_atlas
	mediascanner.cpp 
Log Message:
Modified by: kliu at real.com
Date: 10/18/2010
Project: RealPlayer for Android Smartphones
 
Synopsis: adding APE to MediaScanner scan list
 
Overview: adding APE to the scan list of Helix’s android MediaScanner such that APE files can be scanned by Helix.
 
Files Modified:
player/kit/android/mediascanner.cpp
 
Image Size and Heap Use impact (Client -Only):
None
 
Platforms and Profiles Affected:
Platform: android-2.2-arm-qsd_8650a
Profile: helix-client-android-full
 
Distribution Libraries Affected:
None
 
Distribution library impact and planned action:
None
 
Platforms and Profiles Build Verified:
Platform: android-2.2-arm-qsd_8650a
Profile: helix-client-android-full
 
Platforms and Profiles Functionality verified:
Platform: android-2.2-arm-qsd_8650a
Profile: helix-client-android-full
 
Branch: 361atlas, 362atlas
 
Copyright assignment: I am a RealNetworks employee or contractor


Index: mediascanner.cpp
===================================================================
RCS file: /cvsroot/player/kit/android/Attic/mediascanner.cpp,v
retrieving revision 1.1.2.15.4.2
retrieving revision 1.1.2.15.4.3
diff -u -d -r1.1.2.15.4.2 -r1.1.2.15.4.3
--- mediascanner.cpp	3 Nov 2010 01:16:54 -0000	1.1.2.15.4.2
+++ mediascanner.cpp	18 Nov 2010 11:54:53 -0000	1.1.2.15.4.3
@@ -376,6 +376,13 @@
             client.setMimeType("audio/flac");
             extractDuration(path,client);
     }
+    else if (extension && strcasecmp(extension, ".ape") == 0)
+    {
+            // APE audio
+            LOGV("audio/x-ape");
+            client.setMimeType("audio/x-ape");
+            extractDuration(path,client);
+    }
     else if (extension &&
             (strcasecmp(extension, ".m4v") == 0 || 
              strcasecmp(extension, ".wmv") == 0 || 




More information about the Player-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.