mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] reset openh264 target bitrate
This commit is contained in:
@@ -98,7 +98,7 @@ int OpenH264Encoder::InitEncoderParams(int width, int height) {
|
||||
// 0: auto (dynamic imp. internal encoder)
|
||||
// 1: single thread (default value)
|
||||
// >1: number of threads
|
||||
encoder_params_.iMultipleThreadIdc = 1;
|
||||
encoder_params_.iMultipleThreadIdc = 8;
|
||||
// The base spatial layer 0 is the only one we use.
|
||||
encoder_params_.sSpatialLayers[0].iVideoWidth = encoder_params_.iPicWidth;
|
||||
encoder_params_.sSpatialLayers[0].iVideoHeight = encoder_params_.iPicHeight;
|
||||
|
||||
Reference in New Issue
Block a user