How to set specific caps on source and sink pads?

Siber marchenkovadim at mail.ru
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
gst-plugins-good.

Thank you!

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-set-specific-caps-on-source-and-sink-pads-tp3680264p3680264.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list