[gst-devel] more caps

Colin Walters walters at verbum.org
Wed Dec 24 09:01:01 CET 2003


On Wed, 2003-12-24 at 11:40, Ronald Bultje wrote:

> - is fixate() supposed to be used by the application instead of 'plain
> simple' filtered caps in a pad link? This is lovely (really!). I also
> think the function is broken:
> 
> while (!gst_caps_is_fixed (caps)) {
>   if (app->fixate) {
>     ..
>     continue;
>   }
>   ..
> }
> 
> This will loop endlessly if the app fixate function doesn't fixate it

docs/random/caps2 says:

If the fixate function can't provide
more fixed caps, it should return NULL.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20031224/9fa469a7/attachment.pgp>


More information about the gstreamer-devel mailing list