Commit graph

3 commits

Author SHA1 Message Date
Thibault Saunier b5beac1217 Make GstVideo/AudioInfo GLib.Opaque structures
So that we generate a ABI compatible structure and make it working.
Also this is the way we do it for almost all other structures of this
kind.

I first tried to keep having a managed structure that properly matches
the C structure ABI generating in the gtk-sharp generator Explicit structure
for the union as we do with non managed structures but this is not
possible and leads to the following assertion in mono:

    Type Gst.Video.VideoInfo/__ABI which has an [ExplicitLayout] attribute cannot have a reference field at the same offset as another field.

This sensibly changes the API but I bet noone will even notice.

https://bugzilla.gnome.org/show_bug.cgi?id=788133
2017-09-26 10:35:37 -03:00
Thibault Saunier 356a35eda6 samples: Minor fix in the way we free resources 2017-09-22 15:42:41 -03:00
Stephan Sundermann d5e5a1030b sample: Add basic tutorial 8 sample 2014-08-06 21:39:38 +02:00