how do you enable output of GST_DEBUG_OBJECT ?

Sebastian Dröge slomo at coaxion.net
Wed Oct 16 22:16:02 CEST 2013


On Mi, 2013-10-16 at 11:40 -0700, Bob Barker wrote:
> We’re new to GStreamer and are writing our own elements.
> After downloading all the GStreamer source code and searching it, we cannot
> figure out how to turn on the debug output. For example, in this source
> excerpt how to do you get line 1049 to output at runtime?

First of all you would check the name of the debug category used in that
file. Check for GST_DEBUG_CATEGORY_INIT(). In this case it's "basesrc".

Now you would enable the debug level of that category, i.e. set
GST_DEBUG="basesrc:6" or
gst_debug_set_threshold_for_name ("basesrc", GST_LEVEL_DEBUG);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131016/648620cf/attachment.pgp>


More information about the gstreamer-devel mailing list