[FFmpeg-devel] [PATCH 3/8] avfilter/buffersink: add a side_data field

James Almer jamrial at gmail.com
Wed Jan 15 14:23:00 EET 2025


On 1/15/2025 5:45 AM, Nicolas George wrote:
> James Almer (12025-01-10):
>> This will be used to propagate global side data through the filterchain.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>   libavfilter/buffersink.c | 21 +++++++++++++++++++++
>>   libavfilter/buffersink.h |  5 +++++
>>   2 files changed, 26 insertions(+)
> 
> For packets and frames, accessing the side data directly is allowed, and
> the utility functions to query return the data directly, without new
> allocation. This API should have the same behavior, both for consistency
> and convenience.
> 
> Regards,

You mean getting a const pointer to the side data in buffersink, so the 
caller may clone it if needed?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250115/cd9467d1/attachment.sig>


More information about the ffmpeg-devel mailing list