<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi GStreamer devel community,<div><br></div><div>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 <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html</a></div><div><br></div><div>My question is:</div><div><br></div><div>How to print GST_DEBUG_OBJECT messages in console?</div><div><br></div><div>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.</div><div><br></div><div><a href="http://gstreamer-devel.966125.n4.nabble.com/how-do-you-enable-output-of-GST-DEBUG-OBJECT-td4662640.html">http://gstreamer-devel.966125.n4.nabble.com/how-do-you-enable-output-of-GST-DEBUG-OBJECT-td4662640.html</a></div><div><a href="http://permalink.gmane.org/gmane.comp.video.gstreamer.devel/46433">http://permalink.gmane.org/gmane.comp.video.gstreamer.devel/46433</a></div><div><br></div><div>I have also tried to initialise a category for the code example with:</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">GST_DEBUG_CATEGORY (my_category);</div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(120, 73, 42);">#define GST_CAT_DEFAULT my_category</div></div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(120, 73, 42);">#define _do_init GST_DEBUG_CATEGORY_INIT (my_category, <span style="color: #d12f1b">"my category"</span>, <span style="color: #272ad8">0</span>, <span style="color: #d12f1b">"This is the category for the code example of Chapter 19"</span>);</div></div><div><br></div><div>Then, I declare GST_DEBUG=mycategory:9, but there are no messages printed from GST_DEBUG_OBJECT.</div><div><br></div><div>Thanks a lot for any hint!</div><div><br></div><div>Francisco</div><div><br></div></body></html>