[FFmpeg-devel] [PATCH 3/3] ffmpeg: support audio in complex filters

Nicolas George nicolas.george at normalesup.org
Thu May 3 15:22:26 CEST 2012


Le quintidi 15 floréal, an CCXX, Matthieu Bouron a écrit :
> ---
>  ffmpeg.c |  185 ++++++++++++++++++++++++++++++++++++++++++++++++++++----------
>  1 file changed, 157 insertions(+), 28 deletions(-)

Cool! Thanks.

> +    for (i = 0; i < ist->nb_filters; i++) {
> +        if (av_asrc_buffer_add_buffer(ist->filters[i]->filter,
> +                                      samples, decoded_data_size,
> +                                      ist->st->codec->sample_rate,
> +                                      ist->st->codec->sample_fmt,
> +                                      ist->st->codec->channel_layout,
> +                                      0, ist->pts, 0) < 0) {

This API is about to be deprecated. Would you consider rebasing your patch
on top of my proposal to merge vsrc_buffer and asrc_buffer? I intend to push
most patches in less than a few hours and re-submit the other ones.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120503/0f53a380/attachment.asc>


More information about the ffmpeg-devel mailing list