summaryrefslogtreecommitdiffstats
path: root/src/itdb_device.c
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
commit92d06b84d73893e3fea9ec6560fd5e35d0b7f3b4 (patch)
tree3b4da13e285290f32c066f7b1064b1c39cbe96a5 /src/itdb_device.c
parentcec790757303d2176b40f66a76e315e2a1591e11 (diff)
downloadlibgpod-tmz-92d06b84d73893e3fea9ec6560fd5e35d0b7f3b4.tar.gz
libgpod-tmz-92d06b84d73893e3fea9ec6560fd5e35d0b7f3b4.tar.xz
libgpod-tmz-92d06b84d73893e3fea9ec6560fd5e35d0b7f3b4.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
Diffstat (limited to 'src/itdb_device.c')
-rw-r--r--src/itdb_device.c15
1 files changed, 3 insertions, 12 deletions
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);