Commit dd38893f authored by François Grisez's avatar François Grisez
Browse files

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.
parent c94a52f3
......@@ -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;
return TRUE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment