mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
Finish new LaunchSpec
This commit is contained in:
parent
d4e1aa3b60
commit
e2d1c11064
3 changed files with 26 additions and 9 deletions
|
@ -204,11 +204,12 @@ void Settings::SetAudioBufferSize(unsigned int size)
|
|||
|
||||
ChiakiConnectVideoProfile Settings::GetVideoProfile()
|
||||
{
|
||||
ChiakiConnectVideoProfile profile;
|
||||
ChiakiConnectVideoProfile profile = {};
|
||||
chiaki_connect_video_profile_preset(&profile, GetResolution(), GetFPS());
|
||||
unsigned int bitrate = GetBitrate();
|
||||
if(bitrate)
|
||||
profile.bitrate = bitrate;
|
||||
profile.codec = CHIAKI_CODEC_H264; // TODO: add a setting
|
||||
return profile;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue