fix: copy bSubcodecMode in ParamTranscode so encoder context sees the flag
Without this, SWelsSvcCodingParam::ParamTranscode was not copying bSubcodecMode from SEncParamExt, so the encoder's internal pSvcParam always had bSubcodecMode=false regardless of what the caller set. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
d239564d84
commit
28608194a9
1 changed files with 1 additions and 0 deletions
|
|
@ -345,6 +345,7 @@ typedef struct TagWelsSvcCodingParam: SEncParamExt {
|
|||
bIsLosslessLink = pCodingParam.bIsLosslessLink;
|
||||
bFixRCOverShoot = pCodingParam.bFixRCOverShoot;
|
||||
iIdrBitrateRatio = pCodingParam.iIdrBitrateRatio;
|
||||
bSubcodecMode = pCodingParam.bSubcodecMode;
|
||||
if (iUsageType == SCREEN_CONTENT_REAL_TIME && !bIsLosslessLink && bEnableLongTermReference) {
|
||||
bEnableLongTermReference = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue