cpw.malu.xmpp.google_ft: 48a901a8: make the description fix for the av sess...

malu at pidgin.im malu at pidgin.im
Tue Sep 14 14:47:22 EDT 2010


----------------------------------------------------------------------
Revision: 48a901a88012d9653fa1b5be22e3195e81904a4b
Parent:   d42c2cf4ffffa6baf8f0561517d8f04a6e4f44b9
Author:   malu at pidgin.im
Date:     09/14/10 14:39:35
Branch:   im.pidgin.cpw.malu.xmpp.google_ft
URL: http://d.pidgin.im/viewmtn/revision/info/48a901a88012d9653fa1b5be22e3195e81904a4b

Changelog: 

make the description fix for the av session

Changes against parent d42c2cf4ffffa6baf8f0561517d8f04a6e4f44b9

  patched  libpurple/protocols/jabber/google/google_av.c

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/google/google_av.c	688f5c75bef6d02efaf093a38c392a3a1bd71c07
+++ libpurple/protocols/jabber/google/google_av.c	7439c8abfe49be471159a8460fa1f9fef50f488b
@@ -611,7 +611,6 @@ jabber_google_relay_response_av_handle_i
 	guint num_params;
 	JabberStream *js = session->js;
 	xmlnode *codec_element;
-	xmlnode *desc_element;
 	const gchar *xmlns;
 	PurpleMediaCodec *codec;
 	GList *video_codecs = NULL;
@@ -656,7 +655,7 @@ jabber_google_relay_response_av_handle_i
 		
 	g_free(params);
 
-	for (codec_element = xmlnode_get_child(desc_element, "payload-type");
+	for (codec_element = xmlnode_get_child(session->description, "payload-type");
 	     codec_element; codec_element = codec_element->next) {
 		const char *id, *encoding_name,  *clock_rate,
 				*width, *height, *framerate;


More information about the Commits mailing list