Fixed video bitrate being set way higher than it should.

Video bitrate is set in kb/s not b/s.
This commit is contained in:
irungentoo 2014-06-24 09:32:46 -04:00
parent 2231cd43d0
commit a7c55409fc
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ struct _ToxAv {
}; };
const ToxAvCodecSettings av_DefaultSettings = { const ToxAvCodecSettings av_DefaultSettings = {
1000000, 1000,
800, 800,
600, 600,

View File

@ -110,7 +110,7 @@ typedef enum {
* @brief Encoding settings. * @brief Encoding settings.
*/ */
typedef struct _ToxAvCodecSettings { 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_width; /* In px */
uint16_t video_height; /* In px */ uint16_t video_height; /* In px */