Windows application not identifying objects correctly?

Sebastian Dröge sebastian at centricular.com
Mon Apr 8 18:25:37 UTC 2019


On Fri, 2019-03-29 at 14:51 -0700, Bernd Weber wrote:
> 
> So when I run the application built with the below code on Windows I
> get the following error messages on the command line:
> (GStreamerWindowsHostSample.exe:133520): GLib-CRITICAL **:
> g_datalist_id_set_data_full: assertion 'key_id > 0' failed
> (GStreamerWindowsHostSample.exe:133520): GLib-GObject-CRITICAL **:
> g_param_spec_pool_lookup: assertion 'pool != NULL' failed
> (GStreamerWindowsHostSample.exe:133520): GLib-GObject-WARNING **:
> g_object_set_valist: object class '(NULL)' has no property named
> 'port'
> 
> (GStreamerWindowsHostSample.exe:133520): GLib-CRITICAL **:
> g_datalist_id_set_data_full: assertion 'key_id > 0' failed
> (GStreamerWindowsHostSample.exe:133520): GLib-GObject-CRITICAL **:
> g_param_spec_pool_lookup: assertion 'pool != NULL' failed
> (GStreamerWindowsHostSample.exe:133520): GLib-GObject-WARNING **:
> g_object_set_valist: object class '(NULL)' has no property named
> 'sync'
> 
> I don't see these errors in the other two examples. The above errors
> imply to me that gstreamer of glib is having trouble identifying the
> correct object type somehow. But why does it not have the problem
> when I run the gst-launch pipeline?

My best guess would be that you have multiple versions of GLib or
GObject loaded into your process, e.g. your application linked to a
different version than libgstreamer-1.0-0.dll.

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190408/b7db855d/attachment-0001.sig>


More information about the gstreamer-devel mailing list