[FFmpeg-devel] [PATCH] Add asrc_anullsrc - null audio source
Fri Sep 24 22:38:17 CEST 2010
On Fri, Sep 24, 2010 at 10:13:00PM +0200, Stefano Sabatini wrote:
> 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 what about making the null video filter return black frames?
am i missing something, it seems a few lines of code only?
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel