[FFmpeg-devel] [PATCH V4 2/4] libavfilter/buffersink.c: unref private_ref when frame leaves libavfilter

Nicolas George george at nsup.org
Mon Mar 1 17:07:20 EET 2021


Guo, Yejun (12021-03-01):
> Actually, I think private_ref in libavfilter can only
> be used for an exclusive usage at a time.

Exactly. If we use it for this, then we cannot use for anything else in
libavfilter. This use seems too specific to warrant dedicating such an
unique field to it, even though we do not have a better use in sight.

> As Paul mentioned, I think AVFrame.metadata is a better choice.

If you can express it as a string or set of strings with a clear syntax
that can easily be parsed, then possibly, yes.

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/20210301/531de63e/attachment.sig>


More information about the ffmpeg-devel mailing list