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

Matthieu Bouron matthieu.bouron at gmail.com
Thu May 3 15:42:03 CEST 2012


On Thu, May 03, 2012 at 03:22:26PM +0200, Nicolas George wrote:
> 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.

No problem, i'll wait for your patches.

[...]


More information about the ffmpeg-devel mailing list