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/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
You wrote “updsink” instead of “udpsink”.
> On Nov 20, 2019, at 07:57, pavik1994 <[hidden email]> wrote: > > 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/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by pavik1994
Hi,
is that a copy paste error? updsink -> udpsink You should check that you have realy created the element. Gruesse -----Ursprüngliche Nachricht----- Von: gstreamer-devel <[hidden email]> Im Auftrag von pavik1994 Gesendet: Mittwoch, 20. November 2019 14:45 An: [hidden email] Betreff: udpsink - g_object_set failed 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: https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgstreamer-devel.966125.n4.nabble.com%2F&data=02%7C01%7C%7C96a6ea6f932a4d5783ae08d76dc37ec7%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637098558717457809&sdata=UuOiXpjwJA4tml0K8rGOiJEwKdXa2ZkekhKFZDmt8%2FQ%3D&reserved=0 _______________________________________________ gstreamer-devel mailing list [hidden email] https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=02%7C01%7C%7C96a6ea6f932a4d5783ae08d76dc37ec7%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637098558717457809&sdata=uilfBaZZfJHzyG8GcCdPIFEzeYPjbWW9ARhVk2wQMu4%3D&reserved=0 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Michael Gruner
Thanks. :D
-- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |