Mercurial > pidgin
comparison libpurple/protocols/jabber/jingle/rtp.c @ 24960:a5f1804fcb4b
Combine get_*_codecs functions to mirror Farsight 2.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Thu, 13 Nov 2008 03:46:28 +0000 |
parents | b83c83143a69 |
children | 403453f8b643 |
comparison
equal
deleted
inserted
replaced
24959:e5da7110bec9 | 24960:a5f1804fcb4b |
---|---|
521 if (description != NULL) { | 521 if (description != NULL) { |
522 JingleSession *session = jingle_content_get_session(rtp); | 522 JingleSession *session = jingle_content_get_session(rtp); |
523 PurpleMedia *media = jingle_rtp_get_media(session); | 523 PurpleMedia *media = jingle_rtp_get_media(session); |
524 gchar *media_type = jingle_rtp_get_media_type(rtp); | 524 gchar *media_type = jingle_rtp_get_media_type(rtp); |
525 gchar *name = jingle_content_get_name(rtp); | 525 gchar *name = jingle_content_get_name(rtp); |
526 GList *codecs = purple_media_get_local_codecs(media, name); | 526 GList *codecs = purple_media_get_codecs(media, name); |
527 | 527 |
528 xmlnode_set_attrib(description, "media", media_type); | 528 xmlnode_set_attrib(description, "media", media_type); |
529 | 529 |
530 g_free(media_type); | 530 g_free(media_type); |
531 g_free(name); | 531 g_free(name); |