On Tue Mar 26 23:39:14 2024 +0000, Jinoh Kang wrote:
We can just emit `GST_INFO("GStreamer logging implicitly enabled by Wine debug channel %s; set env GST_DEBUG to override.", channel);` and let the user silence[^1] or voice GStreamer independently. [^1]: Does GST_DEBUG=0 work?
I don't see the point. Yes traces are verbose, and adding a couple of traces from GStreamer won't make it much worse. Not including GStreamer traces when you are using +quartz/+mfplat/+wmvcore make the logs much less useful in practice.
The default setting here with +quartz/+mfplat/+wmvcore is to use 9 for WINE, in order for every trace in winegstreamer to show up, there's not so many of them and they are always useful to follow the execution, and 4/INFO for the rest which isn't excessively verbose. I'm fine using 3/WARNING for the rest if that really matters but IME extra info messages is useful too to get more context.
If you are truly uninterested by the GStreamer trace, yes you can just use GST_DEBUG=0. Also none of this is meant for users, it's meant for developers and I don't think it deserves an info message.