summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2010-12-02 18:06:15 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2010-12-02 18:10:37 +0000
commit0659a0e08bfc364b11c43c8bd7206ed0100ecb52 (patch)
treee5137b4aad7baec6951fc75b044f13b55c544daf
parentd2fcf36a395ef4e973ac8e569b6b26b1da5eb9b2 (diff)
downloadlibgdata-0-5.tar.gz
youtube: Emit XML for a video's aspect ratiolibgdata-0-5
-rw-r--r--gdata/services/youtube/gdata-youtube-group.c2
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 4a6d73b6..1c00d4b0 100644
--- a/gdata/services/youtube/gdata-youtube-group.c
+++ b/gdata/services/youtube/gdata-youtube-group.c
@@ -176,6 +176,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