Skip to content

gldownload: use gst_gl_sync_meta_wait_cpu()

Jakub Adam requested to merge xhaakon/gstreamer:gldownload-wait-cpu into main

Simple gst_gl_sync_meta_wait() is not sufficient to ensure GL commands are executed before dma-buf devices get to see the buffer.

This is the first step that should make the code behave correctly for everybody, although there may be performance penalty. In the future we should introduce a more general sync meta that would allow to move the waiting from gldownload (the producer) to the sink elements (the consumers).

Merge request reports

Loading