Add Video Profile Auto Downgrade

This commit is contained in:
Florian Märkl 2020-12-28 17:07:37 +01:00
commit c19c7869d5
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
5 changed files with 24 additions and 2 deletions

View file

@ -139,10 +139,11 @@ int Host::InitSession(IO *user)
// Build chiaki ps4 stream session
chiaki_opus_decoder_init(&(this->opus_decoder), this->log);
ChiakiAudioSink audio_sink;
ChiakiConnectInfo chiaki_connect_info = {0};
ChiakiConnectInfo chiaki_connect_info = {};
chiaki_connect_info.host = this->host_addr.c_str();
chiaki_connect_info.video_profile = this->video_profile;
chiaki_connect_info.video_profile_auto_downgrade = true;
chiaki_connect_info.ps5 = this->IsPS5();