On 11-09-17 23:07, Mike Wey wrote:

On 08-09-17 19:16, Russel Winder wrote:

GStreamer MPEGTS plugin has a GIR file and so an automated D binding
should be possible. Is there anyone wanting to collaborate on this?

Running the generator on directly on the gir file seems to generate
something useful. There are some structs generated with nothing more
than a getType function which should probably be skipped.

Those structs or at least C structs are mainly used for their fields.
And some of them need to be newed and/or freed.

I'll have to investigate how to best wrap those. Maybe a final class
with properties for the fields that translate for C to D if necessary.