OSDN Git Service

RIO-7687: Limit the max size of album art to 3 megs.
authorPacketVideo CM <engbuild@pv.com>
Wed, 14 Oct 2009 05:40:33 +0000 (22:40 -0700)
committerPacketVideo CM <engbuild@pv.com>
Wed, 14 Oct 2009 05:40:33 +0000 (22:40 -0700)
android/metadatadriver.cpp
engines/2way/src/pv_2way_sdkinfo.h
engines/author/src/pv_author_sdkinfo.h
engines/player/src/pv_player_sdkinfo.h

index b5b8989..7413a84 100644 (file)
@@ -28,7 +28,9 @@
 
 using namespace android;
 
-const char* MetadataDriver::ALBUM_ART_KEY = "graphic";
+// Limit max size of album art to 3M
+// If album art exceeds the max, dont truncate, return nothing.
+const char* MetadataDriver::ALBUM_ART_KEY = "graphic;maxsize=3000000;truncate=false";
 
 const char* MetadataDriver::METADATA_KEYS[NUM_METADATA_KEYS] = {
         "tracknumber",
index d80d99e..c4d3edc 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 "1003281"
-#define PV2WAY_ENGINE_SDKINFO_DATE 0x20091006
+#define PV2WAY_ENGINE_SDKINFO_LABEL "1005236"
+#define PV2WAY_ENGINE_SDKINFO_DATE 0x20091007
 
 #endif //PV_2WAY_SDKINFO_H_INCLUDED
index c80766e..d2402e3 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 "1003281"
-#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20091006
+#define PVAUTHOR_ENGINE_SDKINFO_LABEL "1005236"
+#define PVAUTHOR_ENGINE_SDKINFO_DATE 0x20091007
 
 #endif //PV_AUTHOR_SDKINFO_H_INCLUDED
index 1c2147b..9bdb7f1 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 "1003281"
-#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20091006
+#define PVPLAYER_ENGINE_SDKINFO_LABEL "1005236"
+#define PVPLAYER_ENGINE_SDKINFO_DATE 0x20091007
 
 #endif //PV_PLAYER_SDKINFO_H_INCLUDED