mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-15 08:43:02 +01:00
Codec settings
This commit is contained in:
parent
58f33fa1d6
commit
46b57feb2f
@ -219,7 +219,11 @@ ToxAv* init_audio(ToxWindow* window, Tox* tox)
|
||||
}
|
||||
else {
|
||||
/* Streaming stuff from core */
|
||||
ASettins.av = toxav_new(tox, 0, 0);
|
||||
|
||||
ToxAvCodecSettings cs = av_DefaultSettings;
|
||||
cs.video_height = cs.video_width = 0;
|
||||
|
||||
ASettins.av = toxav_new(tox, &cs);
|
||||
|
||||
if ( !ASettins.av ) {
|
||||
ASettins.errors |= ErrorStartingCoreAudio;
|
||||
|
Loading…
Reference in New Issue
Block a user