On 7/23/2023 4:06 PM, Nicolas George wrote:
James Almer (12023-07-23):
Does the AVBuffersinkAllocVideoFrameFunc function have access to the
AVFilterLink ff_default_get_video_buffer() gets? I assume it'd be needed to
get values like pixel format. If so, it should be documented how, but maybe
it's easier to just pass link here instead of the AVFilterContext, and let
the caller access link->dst if needed.

The API of buffersink already exposes all the necessary format
information.

What about when FF_FILTER_FLAG_HWFRAME_AWARE filters are present in the graph? hw_frames_ctx from AVFilterLink can't be accessed from outside lavfi. Is vf_hwdownload meant to be added to the graph before buffersink?
_______________________________________________
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".

Reply via email to