mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
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:
parent
2231cd43d0
commit
a7c55409fc
|
@ -77,7 +77,7 @@ struct _ToxAv {
|
|||
};
|
||||
|
||||
const ToxAvCodecSettings av_DefaultSettings = {
|
||||
1000000,
|
||||
1000,
|
||||
800,
|
||||
600,
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user