mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
glfilter: insert the debug marker from the GL thread
https://bugzilla.gnome.org/show_bug.cgi?id=761538
This commit is contained in:
parent
b24d28f729
commit
d99af79a2c
1 changed files with 9 additions and 2 deletions
|
@ -916,6 +916,13 @@ inbuf_error:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static void
|
||||
_debug_marker (GstGLContext * context, GstGLFilter * filter)
|
||||
{
|
||||
gst_gl_insert_debug_marker (context,
|
||||
"processing in element %s", GST_OBJECT_NAME (filter));
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
gst_gl_filter_transform (GstBaseTransform * bt, GstBuffer * inbuf,
|
||||
GstBuffer * outbuf)
|
||||
|
@ -936,8 +943,8 @@ gst_gl_filter_transform (GstBaseTransform * bt, GstBuffer * inbuf,
|
|||
if (in_sync_meta)
|
||||
gst_gl_sync_meta_wait (in_sync_meta, context);
|
||||
|
||||
gst_gl_insert_debug_marker (context,
|
||||
"processing in element %s", GST_OBJECT_NAME (filter));
|
||||
gst_gl_context_thread_add (context, (GstGLContextThreadFunc) _debug_marker,
|
||||
filter);
|
||||
if (filter_class->filter)
|
||||
ret = filter_class->filter (filter, inbuf, outbuf);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue