gstreamer-java / gst1-java-core

Java bindings for GStreamer 1.x
GNU Lesser General Public License v3.0
188 stars 72 forks source link

signal handling no Closure class #201

Closed lucgeo closed 4 years ago

lucgeo commented 4 years ago

Hi,

I worked in the past with Java GStreamer (v0.9.1) and I used for signal handling a class called "Closure". I noticed that in the actual version, this class no longer exist. What any other options do I have? It would be a perfect to have an example.

Thanks, Lucian

neilcsmith-net commented 4 years ago

@lucgeo you should use GObject::connect for this, but it would be good to understand the context you were using Closure to be sure.

Please use the mailing list at https://groups.google.com/forum/#!forum/gstreamer-java for support questions, thanks. Follow up on this, ideally with an example of the code you were using and what the GObject and signal you're connecting up us.