baskar r wrote: > hi all, > > the types of caps in gstreamer is > 1.simple > 2.fixed > 3.any and > 4.empty > > what is the significance of empty caps. > > if i write a plugin with empty caps for both src and sink pads , how the > plugin will connect to its peer element. > > regards, > baskar.
As you noticed, it makes no sense to have EMPTY caps in any pad template. EMPTY caps can very well be the result of a caps intersection operation. Like when you try to link two incompatible pads, core detects that the caps intersection in EMPTY during negotiation and the link errors out. -- Regards, René Stadler ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gstreamer-embedded mailing list Gstreamer-embedded@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded