mirror of
https://github.com/mpv-player/mpv
synced 2025-04-27 13:49:33 +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);
|
talloc_free(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vo->probing = old_probing;
|
||||||
|
|
||||||
// If we've reached this point, then none of the contexts matched the name
|
// If we've reached this point, then none of the contexts matched the name
|
||||||
// requested, or the backend creation failed for all of them.
|
// requested, or the backend creation failed for all of them.
|
||||||
|
if (!vo->probing)
|
||||||
MP_ERR(vo, "Failed initializing any suitable GPU context!\n");
|
MP_ERR(vo, "Failed initializing any suitable GPU context!\n");
|
||||||
vo->probing = old_probing;
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user