rendered paste bodycommit 0a69295acdba712941cf81206c67d2690b63b079Author: Christophe Fergeau <cfergeau@mandriva.com>Date: Mon Nov 2 00:47:29 2009 +0100 parse iphone artwork formats from SysInfoExtendeddiff --git a/src/itdb_sysinfo_extended_parser.c b/src/itdb_sysinfo_extended_parser.cindex f996b53..02affbe 100644--- a/src/itdb_sysinfo_extended_parser.c+++ b/src/itdb_sysinfo_extended_parser.c@@ -398,6 +398,12 @@ set_pixel_format (Itdb_ArtworkFormat *img_spec, GHashTable *dict) img_spec->format = THUMB_FORMAT_RGB565_LE; } else if (strcmp (pixel_format, "79343230" /* y420 */) == 0) { img_spec->format = THUMB_FORMAT_I420_LE;+ } else if (strcmp (pixel_format, "4C353535" /* L555 */) == 0) {+ if (g_hash_table_lookup (dict, "PixelOrder") != NULL) {+ img_spec->format = THUMB_FORMAT_REC_RGB555_LE;+ } else {+ img_spec->format = THUMB_FORMAT_RGB555_LE;+ } } else { g_free (pixel_format); return FALSE;