[gst-devel] fixate functions with non-single caps

Thomas Vander Stichele thomas at apestaart.org
Thu Aug 12 14:43:04 CEST 2004


On Thu, 2004-08-12 at 21:49, David Schleef wrote:
> On Thu, Aug 12, 2004 at 05:17:16PM +0200, Thomas Vander Stichele wrote:
> > Hi,
> > 
> > while trying to fix some fixation bugs, I noticed a bunch of plugins
> > either just don't fixate when there is more than one member in the caps,
> > or they only copy the first caps member then fixate that, dropping the
> > others.
> > 
> > Is this supposed to be this way ?
> 
> Yes.  It's a choice, but not a policy.

Heh.  Could you be slightly more verbose ? :) Does this mean that the
element writer was too lazy, that it has a specific purpose, or that it
is completely random ?

To me it seems weird that fixation should fail just because there are
multiple caps.  Why not go over each of them, and return as soon as
something was fixated ?

Thomas


Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
Zou een heel klein beetje oorlog soms niet beter kunnen zijn ?
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/






More information about the gstreamer-devel mailing list