[libgdata/libgdata-0-5] youtube: Emit XML for a video's aspect ratio



commit 0659a0e08bfc364b11c43c8bd7206ed0100ecb52
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 4a6d73b..1c00d4b 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]