TT#92250 fix to keep supp codecs last in the list

Change-Id: I3ed4993e6904e8236812d4a11619945c7d386689
pull/1126/head
Richard Fuchs 5 years ago
parent 16fd8aad15
commit 440ca5ac0f

@ -629,6 +629,10 @@ static void __accept_transcode_codecs(struct call_media *receiver, struct call_m
insert_pos = insert_pos->prev; insert_pos = insert_pos->prev;
} }
} }
else {
if (!insert_pos)
insert_pos = receiver->codecs_prefs_recv.tail;
}
if (!insert_pos) { if (!insert_pos) {
g_queue_push_head(&receiver->codecs_prefs_recv, pt); g_queue_push_head(&receiver->codecs_prefs_recv, pt);

Loading…
Cancel
Save