qt6glwindow: add log message when a buffer pool gets set

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8938>
This commit is contained in:
Jakub Adam 2025-05-06 15:17:10 +02:00 committed by GStreamer Marge Bot
parent 9f4f543bf7
commit ba87e0112f

View File

@ -488,6 +488,7 @@ void
qt6_gl_window_set_pool (Qt6GLWindow * qt6_gl_window, GstBufferPool * pool)
{
g_mutex_lock(&qt6_gl_window->priv->lock);
GST_DEBUG("using pool %" GST_PTR_FORMAT, pool);
if (qt6_gl_window->priv->pool)
gst_object_unref (qt6_gl_window->priv->pool);
qt6_gl_window->priv->pool = pool;