[FFmpeg-devel] [PATCH 08/21] fftools/ffmpeg_filter: add filtergraph private data
Nicolas George
george at nsup.org
Sat Apr 29 11:46:31 EEST 2023
Nicolas George (12023-04-28):
> And during the work of turning all into threads, opportunities to split
> the structure in more logical ways with less code noise will almost
> certainly present themselves.
I had intended to not reply further on this, but I just had a severe
case of esprit de l'ecalier, so I just add this:
For example, it is entirely possible that a lot of these “private”
fields could become local variables and functions parameters in the
threads. That would be elegant and efficient.
But now we will never know, because they will all be stuffed in a
private context, according to “good practices”, and that will spare the
effort of checking what their exact scope is.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230429/1f21eaaf/attachment.sig>
More information about the ffmpeg-devel
mailing list