gstreamer/subprojects/gst-plugins-bad/ext/gtk
Damian Hobson-Garcia dd8ef3ec1b waylandsink: Move buffer commits to the display thread
Syncrhonizing buffer commits to the streaming thread can lead to
dropped frames when frame callbacks are not processed before the
next frame is ready for rendering.  Depending on the drift between
the wayland compositor and buffer source timings, this can lead to
periods of significant frame drop, especially when the media frame
rate is close to the display frame rate.

Cache buffers in the streaming thread and peform commits on the
display thread to eliminate the buffer commit racing.

The implementation is the same for both waylandsink and gtkwaylandsink,
so move it to the common wayland library under gst-lib.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6133>
2024-02-27 17:20:42 +00:00
..
gstgtkutils.c Add new gtkwaylandsink element 2022-08-02 16:34:13 +00:00
gstgtkutils.h Add new gtkwaylandsink element 2022-08-02 16:34:13 +00:00
gstgtkwaylandsink.c waylandsink: Move buffer commits to the display thread 2024-02-27 17:20:42 +00:00
gstgtkwaylandsink.h Add new gtkwaylandsink element 2022-08-02 16:34:13 +00:00
gstplugin.c Add new gtkwaylandsink element 2022-08-02 16:34:13 +00:00
gtkgstbasewidget.c Add new gtkwaylandsink element 2022-08-02 16:34:13 +00:00
gtkgstbasewidget.h Add new gtkwaylandsink element 2022-08-02 16:34:13 +00:00
gtkgstwaylandwidget.c Add new gtkwaylandsink element 2022-08-02 16:34:13 +00:00
gtkgstwaylandwidget.h Add new gtkwaylandsink element 2022-08-02 16:34:13 +00:00
meson.build meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00