how do you enable output of GST_DEBUG_OBJECT ?
Nicolas Dufresne
nicolas.dufresne at collabora.com
Wed Oct 16 22:50:39 CEST 2013
Le mercredi 16 octobre 2013 à 11:40 -0700, Bob Barker a écrit :
> 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?
>
> From gstreamer-1.0.10/libs/gst/base/gstbasesink.c" line 1027 of 4902
Debug output is not per line, but per debug sections. Debug sections are
define at the start of your element C file most of the time, sections
can be listed with any gstreamer application that handles parameters
correctly, e.g.:
gst-inspect-1.0 --gst-debug-help
To enable debug, most people will use the environment variable, e.g.:
GST_DEBUG=section:4,3
For more information please read:
https://developer.gnome.org/gstreamer/stable/gst-running.html
https://developer.gnome.org/gstreamer/stable/gstreamer-GstInfo.html
cheers,
Nicolas
More information about the gstreamer-devel
mailing list