mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
Added more debugging info
Original commit message from CVS: Added more debugging info
This commit is contained in:
parent
7eb08447b9
commit
b1125b04ba
1 changed files with 4 additions and 0 deletions
|
@ -632,6 +632,8 @@ gst_basic_scheduler_cothreaded_chain (GstBin * bin, GstSchedulerChain * chain)
|
|||
/* need to set up the cothread now */
|
||||
if (wrapper_function != NULL) {
|
||||
if (GST_ELEMENT_THREADSTATE (element) == NULL) {
|
||||
GST_DEBUG (GST_CAT_SCHEDULING, "about to create a cothread, wrapper function for '%s' is &%s",
|
||||
GST_ELEMENT_NAME (element), GST_DEBUG_FUNCPTR_NAME (wrapper_function));
|
||||
do_cothread_create (GST_ELEMENT_THREADSTATE (element), chain->sched->context,
|
||||
wrapper_function, 0, (char **) element);
|
||||
if (GST_ELEMENT_THREADSTATE (element) == NULL) {
|
||||
|
@ -644,6 +646,8 @@ gst_basic_scheduler_cothreaded_chain (GstBin * bin, GstSchedulerChain * chain)
|
|||
GST_ELEMENT_NAME (element));
|
||||
} else {
|
||||
/* set the cothread wrapper function */
|
||||
GST_DEBUG (GST_CAT_SCHEDULING, "about to set the wrapper function for '%s' to &%s",
|
||||
GST_ELEMENT_NAME (element), GST_DEBUG_FUNCPTR_NAME (wrapper_function));
|
||||
do_cothread_setfunc (GST_ELEMENT_THREADSTATE (element), chain->sched->context,
|
||||
wrapper_function, 0, (char **) element);
|
||||
GST_DEBUG (GST_CAT_SCHEDULING, "set wrapper function for '%s' to &%s",
|
||||
|
|
Loading…
Reference in a new issue