Autoplugging

Tony Houghton h at realh.co.uk
Fri Jun 17 10:03:33 PDT 2011


On Fri, 17 Jun 2011 18:43:33 +0200
Stefan Kost <ensonic at hora-obscura.de> wrote:

> On 06/15/11 14:29, Tony Houghton wrote:
> >
> > The manual's chapter on autoplugging basically says the information in
> > it is inaccurate and outdated and one should just use playbin or
> > decodebin, but I don't think you can use vdpau or vaapi with those. Even
> > if the information didn't have that disclaimer, it's distinctly lacking
> > in implementation details.
> 
> Just read the docs anyway including docs/design/*.txt. Autoplugging is 
> not magic, just use signals to get notified about new pads, check the 
> caps and search the registry for compatible elements. Sort the elements 
> by rank and ignore those with rank=0.

Thanks, it's the bit about searching the registry I wasn't clear on.

> It might be better in the long run to figure whats the issue with 
> playbin2 and vaapi/vdpau and make sure we can fix it in 0.10 or at least 
> in 0.11/1.0.

I think they have a very low priority by default, so perhaps an
application can enable them in playbin(2) simply by reregistering them
with a high priority? If it's as simple as that it would be nice if
totem could support it.


More information about the gstreamer-devel mailing list