How to set specific caps on source and sink pads?

Siber marchenkovadim at
Wed Jul 20 01:58:15 PDT 2011

Hello everybody! Sorry for my incompetence. I'm trying to make an element
which allow user to set caps on both pads. For example, if user set element
properties: input_cap=yuy2 output_cap=yvyu, - so my element should set such
caps on pads and only them. If other elements in pipeline not allow to have
such caps so my element should ignore user specified caps. How can I make it
if it's possible? For my_element template I've chosen videocrop from

Thank you!

View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list