[FFmpeg-devel] [PATCH] Add asrc_anullsrc - null audio source

Stefano Sabatini stefano.sabatini-lala
Fri Sep 24 22:13:00 CEST 2010


On date Friday 2010-09-24 20:53:10 +0200, Stefano Sabatini encoded:
> On date Wednesday 2010-09-15 19:42:26 +0200, Michael Niedermayer encoded:
> > On Wed, Sep 15, 2010 at 04:39:47PM +0200, Stefano Sabatini wrote:
> > > On date Wednesday 2010-09-15 13:54:14 +0200, Michael Niedermayer encoded:
> > > > On Wed, Sep 15, 2010 at 12:56:38AM +0200, Stefano Sabatini wrote:
> > > [...] 
> > > > as said, the filter must be functional to be approved.
> > > > source implicates that it produces some samples, a filter never returning a
> > > > single sample is just broken.
> > > > and you dont need a mixer (whatever that may be) to return an array inited
> > > > with memset(0)
> > > 
> > > Repeating the same considerations I already did, why would a nullsrc
> > > filter useful?
> > 
> > iam not asking why the filter is usefull, i know that.
> > What this discussion is about is why it does not return any samples
> > returning some does not hinder any of what it is usefull for but it makes
> > it usefull for more things.
> 
> It doesn't return samples because it is supposed to the exact cousin
> of the video null src, which doesn't return video frames, if you want
> actual audio data you really want a different source.

And patch updated.
-- 
FFmpeg = Faithful and Furious Mastering Philosofic Epic Governor



More information about the ffmpeg-devel mailing list