soto at informatik.uni-kl.de
Sat Jan 3 15:32:01 CET 2004
On Sat, 2004-01-03 at 23:54, Ronald Bultje wrote:
> I want to rename the mpegdemux pads to 'audio_%02d', 'video_%02d',
> 'subtitle_%02d' and 'control_%02d' instead of the private/pcm/bla mess
> that it is right now.
This is the right thing to do. I've had that on my list for some time,
but never got to really do it. One detail that you should consider,
though: when playing DVDs it may happen that a single sound track (say
track 1) is first PCM, then goes to AC3, and then goes back to PCM.
That means you will have to be renegotiating caps the whole time, and
that will probably further complicate mpegdemux's already contorted
logic. But, anyway, if you can do it, go for it.
By the way, is there any element that you can connect to such an output
pad (i. e. a pad that wildly changes formats from time to time) and that
routes buffers to the right decoders based on the caps? Is that what
the existing autopluggers do?
Martin Soto <soto at informatik.uni-kl.de>
More information about the gstreamer-devel