diff --git a/toxav/toxav.c b/toxav/toxav.c index 9606c191..4afb025d 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c @@ -77,7 +77,7 @@ struct _ToxAv { }; const ToxAvCodecSettings av_DefaultSettings = { - 1000000, + 1000, 800, 600, diff --git a/toxav/toxav.h b/toxav/toxav.h index c99a298b..a548ee90 100644 --- a/toxav/toxav.h +++ b/toxav/toxav.h @@ -110,7 +110,7 @@ typedef enum { * @brief Encoding settings. */ typedef struct _ToxAvCodecSettings { - uint32_t video_bitrate; /* In bits/s */ + uint32_t video_bitrate; /* In kbits/s */ uint16_t video_width; /* In px */ uint16_t video_height; /* In px */