diff options
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r-- | toxav/toxav.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c index 27e7ec27..1b99404f 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -268,7 +268,9 @@ void toxav_iterate(ToxAV *av) | |||
268 | 268 | ||
269 | if (i->msi_call->self_capabilities & MSI_CAP_R_VIDEO && | 269 | if (i->msi_call->self_capabilities & MSI_CAP_R_VIDEO && |
270 | i->msi_call->peer_capabilities & MSI_CAP_S_VIDEO) { | 270 | i->msi_call->peer_capabilities & MSI_CAP_S_VIDEO) { |
271 | pthread_mutex_lock(i->video->queue_mutex); | ||
271 | rc = min_u32(i->video->lcfd, rc); | 272 | rc = min_u32(i->video->lcfd, rc); |
273 | pthread_mutex_unlock(i->video->queue_mutex); | ||
272 | } | 274 | } |
273 | 275 | ||
274 | uint32_t fid = i->friend_number; | 276 | uint32_t fid = i->friend_number; |