From 92d06b84d73893e3fea9ec6560fd5e35d0b7f3b4 Mon Sep 17 00:00:00 2001 From: Jorg Schuler Date: Sat, 10 Nov 2007 11:14:57 +0000 Subject: * 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 --- ChangeLog | 4 ++++ src/itdb_device.c | 15 +++------------ 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 * 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); -- cgit