From 27de7063632c0f13183203582fba85de5ca465b1 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 29 Jun 2010 11:25:09 +0200 Subject: [PATCH] fix unused fmtp when receiving sdp answer --- coreapi/offeranswer.c | 4 ++-- mediastreamer2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coreapi/offeranswer.c b/coreapi/offeranswer.c index 2abf7174d..d69a22ddd 100644 --- a/coreapi/offeranswer.c +++ b/coreapi/offeranswer.c @@ -59,8 +59,8 @@ static MSList *match_payloads(const MSList *local, const MSList *remote){ matched=find_payload_type_best_match(local,p2); if (matched){ matched=payload_type_clone(matched); - if (p2->recv_fmtp) - payload_type_set_send_fmtp(matched,p2->recv_fmtp); + if (p2->send_fmtp) + payload_type_set_send_fmtp(matched,p2->send_fmtp); res=ms_list_append(res,matched); payload_type_set_number(matched,payload_type_get_number(p2)); }else{ diff --git a/mediastreamer2 b/mediastreamer2 index b6b2f3006..83533eea4 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit b6b2f3006fd2d4331be838fdb34e363f0ea8eed5 +Subproject commit 83533eea4df856c55b54dfa8afcb96dde93c05f9