[gst-devel] caps nego
rbultje at ronald.bitfreak.net
Thu May 22 09:37:05 CEST 2003
On Thu, 2003-05-22 at 18:00, Joshua N Pritikin wrote:
> i think the caps nego callback (connect) should be per-element instead
> of per-pad.
> Justification: Look at stereo2mono.
The best one could say is that the capsnego *callback* could be set
per-element. Each pad has its own properties etc., so doing capsnego *an
sich* per element is bizarre. Totally out of the question.
Now on to the callback. The fact that some/most (?) elements will use
the same callback for all pads doesn't mean *all* elements do this.
Also, since the pad is the first argument of the callback, it makes
sense that this is a pad thing, not a caps thing (it's a virtual
So no, keep it this way please.
Ronald Bultje <rbultje at ronald.bitfreak.net>
More information about the gstreamer-devel