summaryrefslogtreecommitdiff
path: root/toxav/toxav.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r--toxav/toxav.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c
index 2e6326fd..01b2670d 100644
--- a/toxav/toxav.c
+++ b/toxav/toxav.c
@@ -250,7 +250,6 @@ void toxav_iterate(ToxAV* av)
250 LOGGED_UNLOCK(av->mutex); 250 LOGGED_UNLOCK(av->mutex);
251 251
252 av->interval = rc < av->dmssa ? 0 : (rc - av->dmssa); 252 av->interval = rc < av->dmssa ? 0 : (rc - av->dmssa);
253// av->interval = rc < 5 ? 1: rc - 5;
254 av->dmsst += current_time_monotonic() - start; 253 av->dmsst += current_time_monotonic() - start;
255 254
256 if (++av->dmssc == 3) { 255 if (++av->dmssc == 3) {
@@ -865,8 +864,6 @@ int callback_capabilites(void* toxav_inst, MSICall* call)
865 ToxAV* toxav = toxav_inst; 864 ToxAV* toxav = toxav_inst;
866 LOGGED_LOCK(toxav->mutex); 865 LOGGED_LOCK(toxav->mutex);
867 866
868 /* TODO modify cs? */
869
870 invoke_call_state(toxav, call->friend_id, call->peer_capabilities); 867 invoke_call_state(toxav, call->friend_id, call->peer_capabilities);
871 868
872 LOGGED_UNLOCK(toxav->mutex); 869 LOGGED_UNLOCK(toxav->mutex);