[gst-devel] logger level can't decrease once increased

Stefan Kost ensonic at hora-obscura.de
Tue Jun 29 18:05:37 CEST 2010


On 24.06.2010 17:20, Greg Wunder wrote:
>
> I'm using gstreamer in an application with access to the stdout from
> gstreamer via a gst_debug_add_log_function.
> Through the user interface in the app, you can change the output level
> (in gstreamer this calls gst_debug_set_default_threshold).
> It appears that setting/getting this value is not a problem, however
> after increasing the threshold past GST_LEVEL_INFO (3) & then
> attempting to bring it to a lower value (i.e. GST_LEVEL_WARNING), it
> appears that the output stays the same. 
> gst_debug_get_default_threshold at this point shows that I have set it
> to the lower number, but the output reflects that the higher log level
> is still being used.  Any ideas on what might be happening?
>
Could you check if we have a unit test for that (gstreamer/tests/check).
if not try writing a test that reproduces the issue. On success file a
bug and attach a patch with the test.

Stefan

>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list