mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-20 23:59:55 +00:00
Surface DXGI fallback to GDI at warn level on Windows
This commit is contained in:
@@ -528,7 +528,7 @@ func (w *captureWorker) createCapturer() (frameCapturer, error) {
|
|||||||
log.Info("using DXGI Desktop Duplication for capture")
|
log.Info("using DXGI Desktop Duplication for capture")
|
||||||
return dc, nil
|
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()
|
gc, err := newGDICapturer()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user