udpsink - g_object_set failed

pavik1994 pavikandrzej at gmail.com
Wed Nov 20 13:44:37 UTC 2019


Hi,
I want to set property for my GstElement. But I had problem. This is my
code:



    GstElement *updsink;
    updsink = gst_element_factory_make("updsink",NULL);

    g_object_set(updsink, "host", "127.0.0.1","port",15000, NULL);  ///< In
this place is problem

///////////////////////

This is text for problem:
GLib-GObject-CRITICAL **: 14:38:23.950: g_object_set: assertion 'G_IS_OBJECT
(object)' failed


What do I can?




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list