Surface DXGI fallback to GDI at warn level on Windows

This commit is contained in:
Viktor Liu
2026-05-20 12:11:15 +02:00
parent 56598571c3
commit 7e7e8d8b32
+1 -1
View File
@@ -528,7 +528,7 @@ func (w *captureWorker) createCapturer() (frameCapturer, error) {
log.Info("using DXGI Desktop Duplication for capture")
return dc, nil
}
log.Debugf("DXGI unavailable (%v), falling back to GDI", err)
log.Warnf("DXGI Desktop Duplication unavailable, falling back to slower GDI BitBlt: %v", err)
gc, err := newGDICapturer()
if err != nil {
return nil, err