diff options
Diffstat (limited to 'video/out/vo_dmabuf_wayland.c')
-rw-r--r-- | video/out/vo_dmabuf_wayland.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/video/out/vo_dmabuf_wayland.c b/video/out/vo_dmabuf_wayland.c index eb658b43d7..fe320de884 100644 --- a/video/out/vo_dmabuf_wayland.c +++ b/video/out/vo_dmabuf_wayland.c @@ -320,14 +320,10 @@ static void uninit(struct vo *vo) static int preinit(struct vo *vo) { struct priv *p = vo->priv; - struct ra_ctx_opts ctx_opts; p->log = vo->log; p->global = vo->global; - ctx_opts.context_name = "wldmabuf"; - ctx_opts.context_type = "none"; - ctx_opts.probing = false; - p->ctx = ra_ctx_create(vo, ctx_opts); + p->ctx = ra_ctx_create_by_name(vo, "wldmabuf"); if (!p->ctx) goto err_out; assert(p->ctx->ra); |