How to print GST_DEBUG_OBJECT messages in console?
Francisco Velázquez
francisco.javier at me.com
Thu Oct 16 05:34:08 PDT 2014
Hi GStreamer devel community,
I have a question that may be trivial, but I’m struggling with it. My question refers to the code of Chapter 19 of the GStreamer manual posted in http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html
My question is:
How to print GST_DEBUG_OBJECT messages in console?
I have read the threads below among others. The environment variable GST_DEBUG has an effect when being general. For example, GST_DEBUG=5 or GST_DEBUG=*:5 print messages from all involved categories. I have not figured out how to print to the console the messages from the code example.
http://gstreamer-devel.966125.n4.nabble.com/how-do-you-enable-output-of-GST-DEBUG-OBJECT-td4662640.html
http://permalink.gmane.org/gmane.comp.video.gstreamer.devel/46433
I have also tried to initialise a category for the code example with:
GST_DEBUG_CATEGORY (my_category);
#define GST_CAT_DEFAULT my_category
#define _do_init GST_DEBUG_CATEGORY_INIT (my_category, "my category", 0, "This is the category for the code example of Chapter 19");
Then, I declare GST_DEBUG=mycategory:9, but there are no messages printed from GST_DEBUG_OBJECT.
Thanks a lot for any hint!
Francisco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141016/e7f826be/attachment.html>
More information about the gstreamer-devel
mailing list