mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] fix nvidia encoder crash during reconfigure the resolution
This commit is contained in:
@@ -37,7 +37,7 @@ class OpenH264Encoder : public VideoEncoder {
|
||||
|
||||
int OnEncodedImage(char* encoded_packets, size_t size);
|
||||
|
||||
void ForceIdr();
|
||||
int ForceIdr();
|
||||
|
||||
private:
|
||||
int InitEncoderParams(int width, int height);
|
||||
|
||||
Reference in New Issue
Block a user