[FFmpeg-devel] [PATCH] avfilter/avfilter: add sample_count_in and sample_count_out
Nicolas George
george at nsup.org
Wed Jun 3 18:11:46 EEST 2020
Paul B Mahol (12020-06-03):
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
> To be used by latency filters.
Re-submit when something use them.
> ---
> libavfilter/avfilter.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
> index 49b4f7a939..8ebcb3eacc 100644
> --- a/libavfilter/avfilter.h
> +++ b/libavfilter/avfilter.h
> @@ -582,6 +582,11 @@ struct AVFilterLink {
> */
> int64_t frame_count_in, frame_count_out;
>
> + /**
> + * Number of past samples sent through the link.
"Number of samples already sent through the link" seems more natural.
> + */
> + int64_t sample_count_in, sample_count_out;
Should be uint64_t.
> +
> /**
> * A pointer to a FFFramePool struct.
> */
--
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/20200603/f5c74e64/attachment.sig>
More information about the ffmpeg-devel
mailing list