[libgdata/libgdata-0-7] youtube: Emit XML for a video's aspect ratio
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/libgdata-0-7] youtube: Emit XML for a video's aspect ratio
- Date: Thu, 2 Dec 2010 18:11:11 +0000 (UTC)
commit ce6b170b80c2b859f5c975ceeaaea45e664a7c85
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Dec 2 18:06:15 2010 +0000
youtube: Emit XML for a video's aspect ratio
gdata/services/youtube/gdata-youtube-group.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdata/services/youtube/gdata-youtube-group.c b/gdata/services/youtube/gdata-youtube-group.c
index 5c9ffac..e7f2671 100644
--- a/gdata/services/youtube/gdata-youtube-group.c
+++ b/gdata/services/youtube/gdata-youtube-group.c
@@ -137,6 +137,8 @@ get_xml (GDataParsable *parsable, GString *xml_string)
if (priv->is_private == TRUE)
g_string_append (xml_string, "<yt:private/>");
+ if (priv->aspect_ratio != NULL)
+ gdata_parser_string_append_escaped (xml_string, "<yt:aspectratio>", priv->aspect_ratio, "</yt:aspectratio>");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]