fix: ensure hardware padded vaapi pipelines hwdownload before watermark overlay

This commit is contained in:
Christian Benincasa
2026-03-19 13:24:05 -04:00
parent d80863c2b9
commit cd488cd259

View File

@@ -565,6 +565,11 @@ export class VaapiPipelineBuilder extends SoftwarePipelineBuilder {
return currentState;
}
if (currentState.frameDataLocation === FrameDataLocation.Hardware) {
const hwdownload = new HardwareDownloadFilter(currentState);
currentState = this.addFilterToVideoChain(currentState, hwdownload);
}
const watermarkInput = this.watermarkInputSource!;
for (const watermark of watermarkInput.streams ?? []) {