Surface DXGI fallback to GDI at warn level on Windows

This commit is contained in:
Viktor Liu
2026-05-19 12:31:09 +02:00
parent 24a5f2252c
commit b41fbad5e1

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