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