diff options
| author | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2007-11-04 00:48:12 +0000 |
|---|---|---|
| committer | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2007-11-04 00:48:12 +0000 |
| commit | 268b930473934ae1ffe50fce7955f9bf1ebea174 (patch) | |
| tree | 8231e3b68b07eb781f2f7c034967376dcc9f42f7 /src/db-image-parser.h | |
| parent | 25b1c3439c651a99c34de15e577a1ea0624d80ae (diff) | |
| download | libgpod-268b930473934ae1ffe50fce7955f9bf1ebea174.tar.gz libgpod-268b930473934ae1ffe50fce7955f9bf1ebea174.tar.xz libgpod-268b930473934ae1ffe50fce7955f9bf1ebea174.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.h | 3 |
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); |
