[FFmpeg-devel] [PATCH] Add asink_anullsink - Null audio sink

Michael Niedermayer michaelni
Fri Sep 24 22:39:50 CEST 2010


On Fri, Sep 24, 2010 at 10:33:13PM +0200, Stefano Sabatini wrote:
> On date Wednesday 2010-09-15 19:49:07 +0200, Michael Niedermayer encoded:
> > On Wed, Sep 15, 2010 at 04:31:07PM +0200, Stefano Sabatini wrote:
> > > On date Wednesday 2010-09-15 14:07:40 +0200, Michael Niedermayer encoded:
> > > > On Wed, Sep 15, 2010 at 12:53:37AM +0200, Stefano Sabatini wrote:
> > > > > On date Thursday 2010-08-19 17:06:53 +0200, Stefano Sabatini encoded:
> > > > > > On date Thursday 2010-08-19 06:11:12 -0700, S.N. Hemanth Meenakshisundaram encoded:
> > > > > > > Renamed, updated doc.
> > > > > > > 
> > > > > > > ---
> > > > > > >  doc/filters.texi              |   13 +++++++++++++
> > > > > > >  libavfilter/Makefile          |    2 ++
> > > > > > >  libavfilter/allfilters.c      |    2 ++
> > > > > > >  libavfilter/asink_anullsink.c |   40 ++++++++++++++++++++++++++++++++++++++++
> > > > > > >  4 files changed, 57 insertions(+), 0 deletions(-)
> > > > > > >  create mode 100644 libavfilter/asink_anullsink.c
> > > > > > 
> > > > > > Looks fine.
> > > > > 
> > > > > I'll apply in three days if I see no objections.
> > > > 
> > > > Does this filter work?
> > > > Does it consume audio or does it never read a single sample? 
> > > 
> > > Consume audio, but input samples are completely ignored (but that's
> > > not the point of the filter, which is to help testing/debuggging
> > > filterchain setup), and is the equivalent of the video nullsink.
> > 
> > iam not so sure if this filter actually works
> > the thing is that nothing seems to ever call request_frame and so nothing
> > will ever be pushed towards this sink. its like ffmpeg will wait at frame
> > 1 for ever.
> 
> That's the point of a sink. It will never be requested of frames as
> it is a null sink.
> 
> Of course you can have other sinks which currently sucks data like
> here:
> asrc, anull, anull, asplit [A1][A2]; [A1] anullsink; [A2] asink
> 
> Patch updated.
> 
> Regards.
> -- 
> FFmpeg = Frenzy & Furious Muttering Porno Exuberant Geek

>  doc/filters.texi              |   13 +++++++++++++
>  libavfilter/Makefile          |    2 ++
>  libavfilter/allfilters.c      |    2 ++
>  libavfilter/asink_anullsink.c |   38 ++++++++++++++++++++++++++++++++++++++
>  4 files changed, 55 insertions(+)
> f692c56b1865d4d6f70f32eba786678d6b73f4f0  0002-Add-asink_anullsink-null-audio-sink.patch
> From c6c56badb5e219a0fe9f7118ed36eef652756884 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Fri, 24 Sep 2010 21:46:31 +0200
> Subject: [PATCH 2/2] Add asink_anullsink - null audio sink.
> 
> Patch by "S.N. Hemanth Meenakshisundaram" /smeenaks/ucsd/edu.

ok

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

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- 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/20100924/77dac9a6/attachment.pgp>



More information about the ffmpeg-devel mailing list