summaryrefslogtreecommitdiffstats
path: root/src/db-image-parser.h
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2007-11-04 00:48:12 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2007-11-04 00:48:12 +0000
commit332d3a1fe2f6eb6d3aef6ca8b65b21507975608f (patch)
tree8231e3b68b07eb781f2f7c034967376dcc9f42f7 /src/db-image-parser.h
parentdb1a26c4b6c2f920ad6e5a188a3304097211f250 (diff)
downloadlibgpod-332d3a1fe2f6eb6d3aef6ca8b65b21507975608f.tar.gz
libgpod-332d3a1fe2f6eb6d3aef6ca8b65b21507975608f.tar.xz
libgpod-332d3a1fe2f6eb6d3aef6ca8b65b21507975608f.zip
Added support for video output of photos for iPod Nano Videos and
iPod Classics. * src/ithumb-writer.c (pack_I420): added packer for iPod Nano Video and iPod Classic TV output photo format. (itdb_write_ithumb_files): make sure only valid thumbnail types are written. * src/db-image-parser.h: added declaration for itdb_thumb_type_is_valid_for_db() * src/itdb_photoalbum.c (itdb_photodb_add_photo_internal): make sure only photo thumbnails are added. * src/db-artwork-writer.c (write_mhii): correctly skip unneeded thumbnails (thumbnails not relevant for the current iPod type). (should_write): renamed to itdb_thumb_type_is_valid_for_db() src/itdb.h src/itdb_artwork.c: minor formatting. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1753 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/db-image-parser.h')
-rw-r--r--src/db-image-parser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/db-image-parser.h b/src/db-image-parser.h
index bd06434..a9a3862 100644
--- a/src/db-image-parser.h
+++ b/src/db-image-parser.h
@@ -82,6 +82,9 @@ G_GNUC_INTERNAL Itdb_Thumb *ipod_image_new_from_mhni (MhniHeader *mhni,
G_GNUC_INTERNAL int itdb_write_ithumb_files (Itdb_DB *db);
+G_GNUC_INTERNAL gboolean
+itdb_thumb_type_is_valid_for_db (const ItdbThumbType thumb_type, DbType db_type);
+
G_GNUC_INTERNAL
const Itdb_ArtworkFormat *itdb_get_artwork_info_from_type (
Itdb_Device *ipod, ItdbThumbType image_type);