Le jeudi 14 janvier 2021 à 07:03 -0600, Marianna S. Buschle a écrit :
> Is there a way to modify GST_TRACERS variable runtime?
>
> I have found gst_debug_set_threshold_from_string("*:4,GST_TRACER:7", 1); for
> modifying GST_DEBUG since setenv("GST_DEBUG","cat:level...", 1) only works
> when called before gst_init()
>
> Is there something similar for GST_TRACERS?
>
> I understand that some tracers might need to be on from start in order to
> work properly but I believe others shouldn't have an issue with being turned
> ON/OFF.
At the moment no, you need GST_TRACERS env to be set before gst_init(). It could
be nice to add some run-time support in the future, at least for tracers were
it's possible (unlike a leak tracer as an example).
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel