[FFmpeg-devel] [PATCH] Add af_afifo - audio fifo filter

Michael Niedermayer michaelni
Tue Sep 21 00:29:05 CEST 2010


On Thu, Aug 19, 2010 at 06:10:47AM -0700, S.N. Hemanth Meenakshisundaram wrote:
> 
> Fixed nits, updated doc.
> 
> ---
>  doc/filters.texi         |   10 ++++
>  libavfilter/Makefile     |    1 +
>  libavfilter/af_afifo.c   |  117 ++++++++++++++++++++++++++++++++++++++++++++++
>  libavfilter/allfilters.c |    1 +
>  4 files changed, 129 insertions(+), 0 deletions(-)
>  create mode 100644 libavfilter/af_afifo.c

[...]
> +AVFilter avfilter_af_afifo = {
> +    .name        = "afifo",
> +    .description = NULL_IF_CONFIG_SMALL("first in first out buffer for audio frames"),
> +
> +    .init        = init,
> +    .uninit      = uninit,
> +
> +    .priv_size   = sizeof(FifoContext),
> +
> +    .inputs      = (AVFilterPad[]) {{ .name             = "default",
> +                                      .type             = AVMEDIA_TYPE_AUDIO,
> +                                      .get_audio_buffer = avfilter_null_get_audio_buffer,
> +                                      .filter_samples   = filter_samples,
> +                                      .rej_perms        = AV_PERM_REUSE2, },
> +                                    { .name = NULL}},
> +    .outputs     = (AVFilterPad[]) {{ .name             = "default",
> +                                      .type             = AVMEDIA_TYPE_AUDIO,
> +                                      .request_frame    = request_frame, },
> +                                    { .name = NULL}},
> +};

this seems to be missing a poll_frame()

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100921/ee74d8f0/attachment.pgp>



More information about the ffmpeg-devel mailing list