Invalid GObject signal error while running Gstreamer-1.0 with GTK+3

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Invalid GObject signal error while running Gstreamer-1.0 with GTK+3

Shaf
I am trying to execute the "Basic tutorial 5: GUI toolkit integration" source
from the documentation.
https://gstreamer.freedesktop.org/documentation/tutorials/basic/toolkit-integration.html?gi-language=c

The GTK and Gstreamer setups is done as below:
           OS : Windows 10 64-bit
1. GTK+3 is installed using vcpkg
2. Gstreamer (ver 1.16) is installed using the official gstreamer downloads
3. Gstreamer libraries are added to the the environment variables using
GST_PLUGIN_PATH
4. The source code is setup in visual studio 2019
5. Gstreamer property sheets are added
 (Note : gstreamer-video-1.0 and gstreamer-1.0 props are only added,
gtk+-3.0 is integrated to Visual studio using vcpkg)

The code compiles and executes, but the output is not as expected. GUI is
displayed, but the gstreamer pipeline is played in a separate sink windows.

There are several errors in the console.

GLib-GObject-WARNING **: 11:43:34.893: ../gobject/gsignal.c:2523: signal
'delete-event' is invalid for instance '0000028AE19B1640' of type
'geo-location-elevation'
GLib-GObject-WARNING **: 11:43:34.893: ../gobject/gsignal.c:2523: signal
'realize' is invalid for instance '0000028AE1921210' of type 'JPEG
interchange format plugin'
GLib-GObject-WARNING **: 11:43:34.893: ../gobject/gsignal.c:2523: signal
'draw' is invalid for instance '0000028AE1921210' of type 'JPEG interchange
format plugin'
GLib-GObject-WARNING **: 11:43:34.893: ../gobject/gsignal.c:2523: signal
'clicked' is invalid for instance '0000028AE3FD3180' of type
'application/x-gst-av-wtv'
GLib-GObject-WARNING **: 11:43:34.893: ../gobject/gsignal.c:2523: signal
'clicked' is invalid for instance '0000028AE3FD3340' of type
'application/x-gst-av-wtv'
GLib-GObject-WARNING **: 11:43:34.893: ../gobject/gsignal.c:2523: signal
'clicked' is invalid for instance '0000028AE3FD3500' of type
'application/x-gst-av-wtv'
GLib-GObject-WARNING **: 11:43:34.893: ../gobject/gsignal.c:2523: signal
'value-changed' is invalid for instance '0000028AE3DECD80' of type
'application/ogg'

The errors seems like Glib-GObject is unable to process the signal_connect
for GTK objects. I am able to execute GTK samples separately without adding
the gstreamer compiler or linker libraries to visual studio.

When I manually add the linker and compiler dependencies of GTK and
Gstreamer in Visual studio, I get the signal_connect errors for gstreamer
objects.
eg: signal 'media-configure' is invalid for instance '0000026441B40280' of
type '(NULL)'

How can I fix the GObject reference issue ?
At run-time, how is the GObject referenced by GTK and Gstreamer code ?


I am not an expert in visual studio and C therefore finding it hard to
resolve the library/dll reference issue.






--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Invalid GObject signal error while running Gstreamer-1.0 with GTK+3

Shaf

Can someone help me on this ? I am stuck with this issue for past few weeks.




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Invalid GObject signal error while running Gstreamer-1.0 with GTK+3

ls2001
Hi, just having the same problem, I think the problem is there are two
instances of GLib, one loaded by vcpkg and the other by gst and its
compiling parts from the two creating problems.

Did you find any way of solving it?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel