On Mon, 7 Apr 2025, Nicolas George wrote:
Marton Balint (HE12025-04-06):
I think a log flag to completely hide the addresses makes sense, and can be
implemented cleanly and reliably in avutil/log. I can totally support that.
I do not. The more I think on it, the more I consider this whole
endeavour is completely misguided.
One of our guiding principles is that the console output of our
command-line tools should be, by default, usable by experienced users.
This is why we reject proposals to hide the banner by default, and this
is why we should not do this either.
Not showing pointer addresses also has benefits, such as easier
diffability of output, or better human readability. It depends on actual
use case which is "useful", so a logging flag completely makes sense to me
to show or hide it, depending on what the user wants.
As for the question of the default behaviour, I don't have a strong
opinion, both can make sense, maybe I would keep the existing behaviour
for the library, but change the default for the cli tools to no-pointer
output.
Regards,
Marton
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".