diff options
| author | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-06-09 20:02:06 +0000 |
|---|---|---|
| committer | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-06-09 20:02:06 +0000 |
| commit | 4ccb2914d8d24821266bc19dd77b9f5d4637d774 (patch) | |
| tree | 486b6d53379f17686e54ff3f2b06850ca5d8e1d8 /src/itdb_sysinfo_extended_parser.c | |
| parent | 447dea0d8e1c0b0990b70ec8eff0597718c1aaf3 (diff) | |
* src/db-artwork-writer.c:
* src/itdb_device.c:
* src/itdb_device.h:
* src/itdb_sysinfo_extended_parser.c:
* src/itdb_sysinfo_extended_parser.h: implements
itdb_device_supports_sparse_artwork (instead of the old stub always
returning TRUE). Use data from SysInfoExtended if it's available,
use hardcoded table from libgpod if not.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2012 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_sysinfo_extended_parser.c')
| -rw-r--r-- | src/itdb_sysinfo_extended_parser.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/itdb_sysinfo_extended_parser.c b/src/itdb_sysinfo_extended_parser.c index 2102502..b0e2fa5 100644 --- a/src/itdb_sysinfo_extended_parser.c +++ b/src/itdb_sysinfo_extended_parser.c @@ -546,3 +546,11 @@ itdb_sysinfo_properties_get_chapter_image_formats (const SysInfoIpodProperties * g_return_val_if_fail (props != NULL, NULL); return props->chapter_image_formats; } + +G_GNUC_INTERNAL gboolean +itdb_sysinfo_properties_supports_sparse_artwork (const SysInfoIpodProperties *props) +{ + g_return_val_if_fail (props != NULL, NULL); + + return props->supports_sparse_artwork; +} |
