OSDN Git Service

RIO-8841: Support for m4b file format
authorPacketVideo CM <engbuild@pv.com>
Mon, 5 Apr 2010 20:20:51 +0000 (13:20 -0700)
committerPacketVideo CM <engbuild@pv.com>
Mon, 5 Apr 2010 20:20:51 +0000 (13:20 -0700)
Change-Id: Id0873ee3bc64dd95fdc6c982e809f45af6290a21

android/mediascanner.cpp
engines/2way/src/pv_2way_sdkinfo.h
engines/author/src/pv_author_sdkinfo.h
engines/player/src/pv_player_sdkinfo.h

index 5b651e2..e42574c 100644 (file)
@@ -571,7 +571,8 @@ status_t MediaScanner::processFile(const char *path, const char* mimeType, Media
         } else if (extension &&
             (strcasecmp(extension, ".mp4") == 0 || strcasecmp(extension, ".m4a") == 0 ||
              strcasecmp(extension, ".3gp") == 0 || strcasecmp(extension, ".3gpp") == 0 ||
-             strcasecmp(extension, ".3g2") == 0 || strcasecmp(extension, ".3gpp2") == 0)) {
+             strcasecmp(extension, ".3g2") == 0 || strcasecmp(extension, ".m4b") == 0 || 
+               strcasecmp(extension, ".3gpp2") == 0)) {
             result = parseMP4(path, client);
         } else if (extension && strcasecmp(extension, ".ogg") == 0) {
             result = parseOgg(path, client);
index 41d5448..9770a70 100644 (file)
@@ -21,7 +21,7 @@
 // This header file is automatically generated at build-time
 // *** OFFICIAL RELEASE INFO -- Will not auto update
 
-#define PV2WAY_ENGINE_SDKINFO_LABEL "1351057"
+#define PV2WAY_ENGINE_SDKINFO_LABEL "1351099"
 #define PV2WAY_ENGINE_SDKINFO_DATE 0x20100330
 
 #endif //PV_2WAY_SDKINFO_H_INCLUDED
index 41f66ec..b816c1f 100644 (file)
@@ -21,7 +21,7 @@
 // This header file is automatically generated at build-time
 // *** OFFICIAL RELEASE INFO -- Will not auto update
 
-#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1351057"
+#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1351099"
 #define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20100330
 
 #endif //PV_AUTHOR_SDKINFO_H_INCLUDED
index 8b3a33f..f9dfdbe 100644 (file)
@@ -21,7 +21,7 @@
 // This header file is automatically generated at build-time
 // *** OFFICIAL RELEASE INFO -- Will not auto update
 
-#define PVPLAYER_ENGINE_SDKINFO_LABEL "1351057"
+#define PVPLAYER_ENGINE_SDKINFO_LABEL "1351099"
 #define PVPLAYER_ENGINE_SDKINFO_DATE 0x20100330
 
 #endif //PV_PLAYER_SDKINFO_H_INCLUDED