diff --git a/gstreamer-sharp/Caps.custom b/gstreamer-sharp/Caps.custom index 046a3d04ad..9c58b0040b 100644 --- a/gstreamer-sharp/Caps.custom +++ b/gstreamer-sharp/Caps.custom @@ -11,6 +11,10 @@ public Caps (Structure[] s) : this () { Append (o); } +public Caps (string mediaType, params object[] fields) : this () { + Append (new Structure(mediaType, fields)); +} + [DllImport ("gstreamersharpglue-0.10.dll") ] extern static uint gstsharp_gst_caps_get_refcount_offset (); diff --git a/gstreamer-sharp/Gstreamer.metadata b/gstreamer-sharp/Gstreamer.metadata index f83d3816de..8cc103c338 100644 --- a/gstreamer-sharp/Gstreamer.metadata +++ b/gstreamer-sharp/Gstreamer.metadata @@ -134,7 +134,9 @@ true true true + 1 1 + 1 method NewAny true @@ -431,7 +433,6 @@ - gpointer Method @@ -521,12 +522,14 @@ 1 1 - true + 1 AddDataProbe GstPadDataProbeCallback + 1 AddBufferProbe GstPadBufferProbeCallback + 1 AddEventProbe GstPadEventProbeCallback ref @@ -831,6 +834,7 @@ 1 1 + 1 1 true SetValue