Debugging/Logging

Mats Lindestam mats.lindestam at gmail.com
Mon Jun 26 06:52:22 UTC 2017


Hi,

I have an element (bin) that has defined its own GstDebugCategory. What I
did was to break out some of the element-functions to another utility-file.
This was done to facilitate stubbing when running check-tests.

A drawback of this is that Gstreamer logging functions e.g. GST_DEBUG (),
GST_INFO (), GST_ELEMENT_ERROR(),... does not seem to work in the
utility-file.

Is there a way around this, so that the utility-file can use the debug
category of the element?

-- 
Regards

/Mats
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170626/55033ce1/attachment.html>


More information about the gstreamer-devel mailing list