window-stream-src: Finish framebuffer after blitting

Just like what's done for monitor screencasting. Unfortunately, there's
no mechanism to share fences with PipeWire clients yet, which forces
us to guarantee that a frame is completed after blitting.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1129
This commit is contained in:
Georges Basile Stavracas Neto 2020-03-16 19:31:25 -03:00
parent ea34915df3
commit f6700f19a7

View File

@ -492,6 +492,8 @@ meta_screen_cast_window_stream_src_blit_to_framebuffer (MetaScreenCastStreamSrc
break;
}
cogl_framebuffer_finish (framebuffer);
return TRUE;
}