[FFmpeg-devel] [PATCH v10 2/3] fftools: add mem log flag and disable printing addresses by default

Nicolas George george at nsup.org
Wed Apr 16 16:50:04 EEST 2025


Michael Niedermayer (HE12025-04-16):
> I think some way to distingish two different "hevc" instances
> with high probability should remain.

This is exactly my point. The address is meaningless¹, but it is a sure
way to distinguish instances of the same components without tons of
fragile code.

1: In a debugger, the address would be available without printing.

> I do think *item_name() should be used more often.

Making sure it returns something different for different instances
without the code getting complex and/or the name getting long is quite a
challenge.

This fruit is neither low-hanging nor tasty. My position on this: leave
the address alone unless one has a very good idea to achieve the goal.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list