[gst-devel] gst_debug_category_set_threshold_for_name

Stefan Kost kost at imn.htwk-leipzig.de
Tue Oct 26 04:32:06 CEST 2004


Hi hi,

even though everything you said is true, I was talking about
  gst_debug_category_set_threshold_for_name()
and not
  gst_debug_set_threshold_for_name()

Stefan

Jan Schmidt wrote:
> <quote who="Stefan Kost">
> 
>>while searchih for how I can raise the debug threshold for gst-categories from
>>my application (unit tests), I came across
>>gst_debug_category_set_threshold_for_name() and others which are defined to /*
>>NOP */ in gstinfo.h.
> 
> 
> They're only NOP is GST_DISABLE_GST_DEBUG is defined. If it isn't, the
> functions prototypes are included above there:
> 
> void            gst_debug_set_threshold_for_name (const gchar *         name,
>                                                  GstDebugLevel          level);
> void            gst_debug_unset_threshold_for_name (const gchar *       name);
> 
> The function bodies are in gstinfo.c, again when GST_DISABLE_GST_DEBUG is not defined.
> 
> 
>>It needs to be fixed, as they appear in the reperence docs as undocumented
>>symbols and they look promissing for doing
>>gst_debug_category_set_threshold_for_name("gst*",GST_LEVEL_DEBUG);
> 
> 
> Yes, that should work fine, although there's no categories that match here, "GST_*" would work better.
> 
> J.

-- 
      \|/            Stefan Kost
     <@ @>           private            business
+-oOO-(_)-OOo------------------------------------------------------ - - -  -   -
|       __  Address  Simildenstr. 5     HTWK Leipzig, Fb IMN, Postfach 301166
|      ///           04277 Leipzig      04251 Leipzig
| __  ///            Germany            Germany
| \\\///    Phone    +49341 2253538     +49341 30766101
|  \__/     EMail    st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
|           WWW      www.sonicpulse.de  www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - -  -    -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kost.vcf
Type: text/x-vcard
Size: 345 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20041026/ce476e23/attachment.vcf>


More information about the gstreamer-devel mailing list