diff options
author | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2007-11-04 00:48:12 +0000 |
---|---|---|
committer | Jorg Schuler <jcsjcs@users.sourceforge.net> | 2007-11-04 00:48:12 +0000 |
commit | 7325fb7ae5dd734833a0d12f8c85479d6f3f8692 (patch) | |
tree | 8231e3b68b07eb781f2f7c034967376dcc9f42f7 /src/itdb.h | |
parent | b5e89581bbab37925786e6a703586022453c91b4 (diff) | |
download | libgpod-7325fb7ae5dd734833a0d12f8c85479d6f3f8692.tar.gz libgpod-7325fb7ae5dd734833a0d12f8c85479d6f3f8692.tar.xz libgpod-7325fb7ae5dd734833a0d12f8c85479d6f3f8692.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/itdb.h')
-rw-r--r-- | src/itdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -447,7 +447,7 @@ struct _Itdb_SPLRules /* Types of thumbnails in Itdb_Image */ typedef enum { - ITDB_THUMB_COVER_SMALL, + ITDB_THUMB_COVER_SMALL = 0, ITDB_THUMB_COVER_LARGE, ITDB_THUMB_PHOTO_SMALL, ITDB_THUMB_PHOTO_LARGE, |