mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 01:15:39 +00:00
glcontext: add trace log when scheduling function in GL thread
There is already a log when the function is executed. Adding one when scheduled can be useful to know how long we are waiting. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8190>
This commit is contained in:
parent
775a2bd26f
commit
69cd1a2d60
1 changed files with 3 additions and 0 deletions
|
@ -1676,6 +1676,9 @@ gst_gl_context_thread_add (GstGLContext * context,
|
|||
|
||||
window = gst_gl_context_get_window (context);
|
||||
|
||||
GST_TRACE_OBJECT (context, "schedule function:%p data:%p", rdata.func,
|
||||
rdata.data);
|
||||
|
||||
gst_gl_window_send_message (window,
|
||||
GST_GL_WINDOW_CB (_gst_gl_context_thread_run_generic), &rdata);
|
||||
|
||||
|
|
Loading…
Reference in a new issue