[gst-devel] OR'ed capabilities

Martin Soto soto at informatik.uni-kl.de
Sun Feb 1 07:22:04 CET 2004


Hi!

The DVD demuxer audio sources, need to be able to handle different types
of audio, namely, MPEG, AC3, DTS and linear PCM.  Since a single pad may
have to change dynamically between two or more of these types, I need to
define the pad template for such a pad as a boolean OR of the caps for
the four possible types.

How do I do that?  As far as I can see, static caps aren't able to
express such a thing.  An example would come really handy.

Cheers,

M. S.
-- 
Martin Soto <soto at informatik.uni-kl.de>





More information about the gstreamer-devel mailing list