set caps in C problem

dgoodrick daniel.goodrick at nasa.gov
Tue Apr 11 19:06:40 UTC 2017


Nirbheek Chauhan wrote
> source = gst_element_factory_make ("videotestsrc","source");
> capsfilter = gst_element_factory_make ("capsfilter", NULL);
> caps = gst_caps_new_simple (...);
> g_object_set (capsfilter, "caps", caps, NULL);
> gst_element_add_many (pipeline, source, capsfilter, NULL);
> gst_element_link (source, capsfilter);

What is the syntax of the properties in "g_object_set (capsfilter, *"caps"*,
*caps*, NULL);"
Does the property in quotes need to be spelled the same as the object being
set?  e.g. "caps" ===caps or "spam" === spam ?
Is it a keyword?
Thanks,
-Dan



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/set-caps-in-C-problem-tp4670021p4682616.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list