AW: udpsink - g_object_set failed

Thornton, Keith keith.thornton at zeiss.com
Wed Nov 20 14:20:57 UTC 2019


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 <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von pavik1994
Gesendet: Mittwoch, 20. November 2019 14:45
An: gstreamer-devel at lists.freedesktop.org
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
gstreamer-devel at lists.freedesktop.org
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


More information about the gstreamer-devel mailing list