mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] release NvCodec DLL only when loaded success
This commit is contained in:
@@ -150,6 +150,7 @@ class PeerConnection {
|
||||
bool hardware_accelerated_decode_ = false;
|
||||
bool b_force_i_frame_ = false;
|
||||
bool video_codec_inited_ = false;
|
||||
bool load_nvcodec_dll_success = false;
|
||||
|
||||
private:
|
||||
std::unique_ptr<AudioEncoder> audio_encoder_ = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user