[gst-devel] caps nego

Thomas Vander Stichele thomas at apestaart.org
Sat Jul 17 00:50:06 CEST 2004

On Sat, 2004-07-17 at 00:19, David Schleef wrote:
> On Fri, Jul 16, 2004 at 11:44:07PM +0200, Thomas Vander Stichele wrote:
> > 
> > > > Just something that runs, where each element
> > > > is able to find a format it can use to talk to the next element.
> > > 
> > > This is what happens.  16x16 at 1 fps _IS_ a workable format,
> > > because all elements involved support it.  If the core doesn't
> > > magically come up with your preferred format, _you_ need to
> > > do something about it, not the core.  The currently format
> > > optimization code is very simplistic, and thus is wrong a lot.
> > 
> > ... but the elements involved have a clear preference for fixating to
> > 320x240 by 30 fps, yet the core isn't smart enough to pick this up.  I'd
> > say that if the elements can't make this clear to the core and the core
> > goes for 16x16 at 1 fps, clearly this is not ideal given the information
> > present in the pipeline.
> Aren't you restating what I just said?

Maybe, I can't tell :) I'm saying that if the info is present in the
pipeline, we should find a way to make the core do the right thing. 
Moving the responsibility to the app should be done when the information
is not readily available in the pipeline.

It sounds to me that you agree with this but I'm not sure, because you
also seem to say it's up to the app.

So supposing we both agree that the core should figure this out, my
question is really, what are some simple things we can change/add to the
core so that this information is uses in the decision process ? Should
fixation be made more deterministic by trying to fixate from the outside
in ? Should elements be able to tell the core "I cannot fixate width and
height, because that's not my job, but you as core shouldn't either on
my links, go find some other links to fixate" ?

I don't know, I'm not smart enough to figure it out on a design level. 
All I can do is say what I see doesn't work, offer some ideas on what
could help make it work, and ask you what I should try to make it
better.  I don't think that's complaining at all - it's just stating
that I'm too stupid to fix it properly.


Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
And I'm not the drowning man you think
I flail my arms and refuse to sink
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/

More information about the gstreamer-devel mailing list