gst-plugins-good: pulsesink: Add a getcaps function

Arun Raghavan arun.raghavan at collabora.co.uk
Thu Jun 13 02:13:44 PDT 2013


On Tue, 2013-06-11 at 22:09 +0200, Stefan Sauer wrote:
> On 06/10/2013 09:51 AM, Arun Raghavan wrote:
> > Module: gst-plugins-good
> > Branch: master
> > Commit: 14e784f9fc629af4c33b41dae159aa5060fb8f5f
> > URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=14e784f9fc629af4c33b41dae159aa5060fb8f5f
> >
> > Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
> > Date:   Thu May 23 21:57:08 2013 +0530
> >
> > pulsesink: Add a getcaps function
> >
> > This allows us to have more fine-tuned caps in READY or above. However,
> > this is _really_ inefficient since we create a new stream and query sink
> > for every getcaps in READY, which on a simple gst-launch line happens
> > about 35 times. The next step is to cache getcaps results.
> >
> > https://bugzilla.gnome.org/show_bug.cgi?id=686459
> >
> Some of the function used are from pulseaudio >= 2.0, but configure
> checks for 1.0 only. Would be sweet if you can define some fallbacks or
> make the code conditional.

There didn't seem to be a simple way to do this without increasing the
maintenance burden unduly. I've now bumped the required PA version to
2.0.

Cheers,
Arun



More information about the gstreamer-devel mailing list