mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 05:15:12 +00:00
vo_gpu: fix autoprobing message
This commit is contained in:
parent
2b5da4804c
commit
baffe6bcbc
@ -168,10 +168,12 @@ struct ra_ctx *ra_ctx_create(struct vo *vo, const char *context_type,
|
||||
talloc_free(ctx);
|
||||
}
|
||||
|
||||
vo->probing = old_probing;
|
||||
|
||||
// If we've reached this point, then none of the contexts matched the name
|
||||
// requested, or the backend creation failed for all of them.
|
||||
MP_ERR(vo, "Failed initializing any suitable GPU context!\n");
|
||||
vo->probing = old_probing;
|
||||
if (!vo->probing)
|
||||
MP_ERR(vo, "Failed initializing any suitable GPU context!\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user