Re: [PATCH] upnp: add support for thumbnails
- From: Iago Toral <itoral igalia com>
- To: <grilo-list gnome org>
- Subject: Re: [PATCH] upnp: add support for thumbnails
- Date: Fri, 21 Jan 2011 07:53:48 +0000
On Thu, 20 Jan 2011 17:26:54 +0100, Guillaume Emont <gemont igalia com>
wrote:
(...)
+static gboolean
+has_thumbnail_marker (xmlNode *node)
+{
+ gchar *dlna_stuff;
+ gboolean ret;
+
+ dlna_stuff = didl_res_get_protocol_info (node, 3);
+ ret = strstr("JPEG_TN", dlna_stuff) != NULL;
+
+ g_free (dlna_stuff);
+ return ret;
+}
+
(...)
if this is the only code required to support other image formats, then
I see no reason to ignore PNG_* or JPEG_SM, even if they are not that
common, or am I missing something?
Iago
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]