diff options
-rw-r--r-- | toxav/toxav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c index e6d41d3a..67fec65d 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -460,7 +460,7 @@ int toxav_prepare_video_frame ( ToxAv *av, int32_t call_index, uint8_t *dest, in | |||
460 | return av_ErrorInvalidState; | 460 | return av_ErrorInvalidState; |
461 | } | 461 | } |
462 | 462 | ||
463 | if (cs_set_video_encoder_resolution(call->cs, input->d_w, input->d_h) < 0) { | 463 | if (cs_set_video_encoder_resolution(call->cs, input->w, input->h) < 0) { |
464 | pthread_mutex_unlock(call->mutex); | 464 | pthread_mutex_unlock(call->mutex); |
465 | return av_ErrorSettingVideoResolution; | 465 | return av_ErrorSettingVideoResolution; |
466 | } | 466 | } |