History

Set a sensible total bitrate when testing multilayer encoding

The previous encoder parameters triggered warning logging in the encoder.

Martin Storsjö committed 12 years ago

Commit 19ea4241 parent eb889c91 file · +1 −0Browse files

Showing the changes to test/api/BaseEncoderTest.cpp (1 of 1 file). Show all

Unified · Split

test/api/BaseEncoderTest.cpp+1−0
@@ -47,6 +47,7 @@ static int InitWithParam(ISVCEncoder* encoder, EUsageType usageType,int width, · 46 unmodified lines
4747 param.uiMaxNalSize = 1500;
4848 }
4949 }
50+ param.iTargetBitrate *= param.iSpatialLayerNum;
5051
5152 return encoder->InitializeExt(&param);
5253 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t