set caps in a program
Thomas Scheuermann
scheuermann at barco.com
Tue Nov 5 07:35:42 PST 2013
Hello,
How can I set caps in a program?
I want to do something like this:
gst-launch-1.0 videotestsrc pattern=0 !
"video/x-raw,width=1920,height=1080,framerate=60/1" ! xvimagesink
I create the videotestsrc element with gst_element_factory_make but I
don't know how I can then set the caps on the "src" pad of the
videotestsrc element.
Is there an example anywhere?
Regards,
Thomas
This message is subject to the following terms and conditions: MAIL DISCLAIMER<http://www.barco.com/en/maildisclaimer>
More information about the gstreamer-devel
mailing list