summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2007-11-10 11:14:57 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2007-11-10 11:14:57 +0000
commit1dbb8db669828f7932d824b3e98f0a7a22c2a50a (patch)
tree3b4da13e285290f32c066f7b1064b1c39cbe96a5
parent583278740aea2bf5aebed24de84d494a16a1fa7a (diff)
downloadlibgpod-1dbb8db669828f7932d824b3e98f0a7a22c2a50a.tar.gz
libgpod-1dbb8db669828f7932d824b3e98f0a7a22c2a50a.tar.xz
libgpod-1dbb8db669828f7932d824b3e98f0a7a22c2a50a.zip
* src/itdb_device.c: use the same photo thumbnail definitions for
the iPhone as well as the iPod Touch until further input is received. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1772 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r--ChangeLog4
-rw-r--r--src/itdb_device.c15
2 files changed, 7 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 871064d..f7afdb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,10 @@
Touch. I'm not sure how reasonable the "PHOTO_LARGE,
_FULL_SCREEN, _TV_SCREEN" classification is, however...
+ * src/itdb_device.c: use the same photo thumbnail definitions for
+ the iPhone as well as the iPod Touch until further input is
+ received.
+
2007-11-09 Jorg Schuler <jcsjcs at users.sourceforge.net>
* src/db-parse-context.c (db_parse_context_get_m_header_internal):
diff --git a/src/itdb_device.c b/src/itdb_device.c
index 3275859..49aa9be 100644
--- a/src/itdb_device.c
+++ b/src/itdb_device.c
@@ -297,16 +297,6 @@ static const Itdb_ArtworkFormat ipod_mobile_1_artwork_info[] = {
{-1, -1, -1, -1, -1}
};
-static const Itdb_ArtworkFormat ipod_iphone_1_artwork_info[] = {
- {ITDB_THUMB_COVER_LARGE, 256, 256, 3001, THUMB_FORMAT_REC_RGB555_LE},
- {ITDB_THUMB_COVER_MEDIUM, 128, 128, 3002, THUMB_FORMAT_REC_RGB555_LE},
- {ITDB_THUMB_COVER_SMALL, 64, 64, 3003, THUMB_FORMAT_REC_RGB555_LE},
- {ITDB_THUMB_COVER_XLARGE, 320, 320, 3005, THUMB_FORMAT_RGB555_LE},
- {ITDB_THUMB_COVER_XSMALL, 56, 56, 3006, THUMB_FORMAT_RGB555_LE, 8192}, /*pad data to 8192 bytes */
- {ITDB_THUMB_COVER_SMEDIUM, 88, 88, 3007, THUMB_FORMAT_RGB555_LE, 16364}, /*pad data to 16384 bytes */
- {-1, -1, -1, -1, -1}
-};
-
static const Itdb_ArtworkFormat ipod_touch_1_artwork_info[] = {
{ITDB_THUMB_COVER_LARGE, 256, 256, 3001, THUMB_FORMAT_REC_RGB555_LE},
{ITDB_THUMB_COVER_MEDIUM, 128, 128, 3002, THUMB_FORMAT_REC_RGB555_LE},
@@ -336,9 +326,10 @@ static const Itdb_ArtworkFormat ipod_classic_1_artwork_info[] = {
{-1, -1, -1, -1, -1}
};
-/* these seem to be identical... */
+/* these are identical... */
#define ipod_nano3_artwork_info ipod_classic_1_artwork_info
-
+/* these might be identical... Please report if not*/
+#define ipod_iphone_1_artwork_info ipod_touch_1_artwork_info
static void itdb_device_set_timezone_info (Itdb_Device *device);