forked from mirrors/linphone-iphone
Fix bug in the management of the payloads list
It was impossible to disable the codecs which are enabled at the first use of Linphone.
This commit is contained in:
parent
c94a52f3f0
commit
dd38893ff1
1 changed files with 1 additions and 0 deletions
|
|
@ -1105,6 +1105,7 @@ static bool_t get_codec(LinphoneCore *lc, SalStreamType type, int index, Payload
|
|||
*default_list=ms_list_append(*default_list, pt);
|
||||
}
|
||||
if (enabled ) pt->flags|=PAYLOAD_TYPE_ENABLED;
|
||||
else pt->flags&=~PAYLOAD_TYPE_ENABLED;
|
||||
*ret=pt;
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue