Control: forwarded -1 https://github.com/mpv-player/mpv/issues/11073

Hi,

Quoting Johannes Schauer Marin Rodrigues (2022-12-31 22:56:12)
> Reverting this commit in 0.35.0-4 (a clean revert without conflicts is
> possible) makes mpv work fine for me again.

there is a more minimal patch to make things work again:

--- a/video/out/opengl/ra_gl.c
+++ b/video/out/opengl/ra_gl.c
@@ -590,7 +590,7 @@ static struct ra_buf *gl_buf_create(struct ra *ra,
 {
     GL *gl = ra_gl_get(ra);
 
-    if (params->host_mapped && !gl->BufferStorage)
+    if (params->host_mapped && gl->version < 440)
         return NULL;
 
     struct ra_buf *buf = talloc_zero(NULL, struct ra_buf);

> I am not familiar with mpv internals. Do you want to file an upstream bug
> about this or should I?

I filed it now as https://github.com/mpv-player/mpv/issues/11073.

Thanks!

cheers, josch

Reply via email to