Revision: 2015
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2015&view=rev
Author: teuf
Date: 2008-06-14 14:23:25 -0700 (Sat, 14 Jun 2008)
Log Message:
-----------
Remove buggy function to test if an ipod supports video
Modified Paths:
--------------
libgpod/trunk/ChangeLog
libgpod/trunk/src/itdb_track.c
Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog 2008-06-09 20:08:08 UTC (rev 2014)
+++ libgpod/trunk/ChangeLog 2008-06-14 21:23:25 UTC (rev 2015)
@@ -1,3 +1,9 @@
+2008-06-14 Christophe Fergeau <[EMAIL PROTECTED]>
+
+ * src/itdb_track.c: remove bogus function to check if the ipod
+ supports video: it didn't take into account the new ipods released
+ after the 1st ipod video
+
2008-06-09 Christophe Fergeau <[EMAIL PROTECTED]>
* src/itdb_device.h:
Modified: libgpod/trunk/src/itdb_track.c
===================================================================
--- libgpod/trunk/src/itdb_track.c 2008-06-09 20:08:08 UTC (rev 2014)
+++ libgpod/trunk/src/itdb_track.c 2008-06-14 21:23:25 UTC (rev 2015)
@@ -33,24 +33,6 @@
#include "itdb_thumb.h"
#include <string.h>
-static gboolean is_video_ipod (Itdb_Device *device)
-{
- const Itdb_IpodInfo *info;
-
- g_return_val_if_fail (device, FALSE);
-
- info = itdb_device_get_ipod_info (device);
-
- if (!info) return FALSE;
-
- if ((info->ipod_model == ITDB_IPOD_MODEL_VIDEO_WHITE) ||
- (info->ipod_model == ITDB_IPOD_MODEL_VIDEO_BLACK))
- return TRUE;
- else
- return FALSE;
-}
-
-
/**
* itdb_track_new:
*
@@ -161,7 +143,7 @@
tr->unk144 = 0x0000; /* default value */
}
}
- if (is_video_ipod (tr->itdb->device))
+ if (itdb_device_supports_video (tr->itdb->device))
{
/* The unk208 field seems to denote whether the file is a
video or not. It seems that it must be set to 0x00000002
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2