1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #98 from F1ynn/master

Fix #97
This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-07-06 07:55:34 +02:00
commit eb1959f540

View File

@ -1118,8 +1118,8 @@ void Core::prepareCall(int friendId, int callId, ToxAv* toxav, bool videoEnabled
calls[callId].callId = callId;
calls[callId].friendId = friendId;
calls[callId].codecSettings = av_DefaultSettings;
calls[callId].codecSettings.video_width = TOXAV_VIDEO_WIDTH;
calls[callId].codecSettings.video_height = TOXAV_VIDEO_HEIGHT;
calls[callId].codecSettings.max_video_width = TOXAV_VIDEO_WIDTH;
calls[callId].codecSettings.max_video_height = TOXAV_VIDEO_HEIGHT;
calls[callId].videoEnabled = videoEnabled;
toxav_prepare_transmission(toxav, callId, &calls[callId].codecSettings, videoEnabled);