Commit graph

11 commits

Author SHA1 Message Date
Maarten Bosmans
9713ead713 Don't modify hash tables while iterating over them
This caused crashes for caps with more than a single struct
when unreffing them in one way or another.

Fixes bug #627677.
2010-08-23 10:54:41 +02:00
Sebastian Dröge
80a5794fc1 Fix indention everywhere 2009-09-20 10:22:16 +02:00
Sebastian Dröge
aa7bb8fa1c Use internal glib-sharp copy everywhere and make it work side-by-side with real glib-sharp
glib-sharp will only get a new release with the new API that we need for
3.0 in a year or something. Instead of waiting a year before we can release
something we now have our own internal copy of glib-sharp trunk that will
be dropped once glib-sharp 3.0 is released.

Everything is now compilable and working without any additional patches.
2009-08-05 16:57:20 +02:00
Maarten Bosmans
e53329406a Avoid some warnings when parsing the xml.
The warnings where mainly about usage of ellipsis type arguments.
For most of the functions hidden by this patch there was already an
alternative, for the params[] Caps constructor custom code is added.

Fixes bug #584913.
2009-06-09 10:42:21 +02:00
Sebastian Dröge
ecf13c2d18 Override GLib.Opaque.Copy() vm 2009-05-28 14:51:44 +02:00
Maarten Bosmans
f665c749b6 Use libgst*.dll in DllImport attribute, instead of gst*.dll
Nescessary for .NET, which doesn't prefix the library filename
with lib automatically.
2009-05-25 12:09:52 +02:00
Sebastian Dröge
be6d49095f Copy all still existing structure references before calling gst_caps_do_simplify 2009-04-21 14:24:14 +02:00
Sebastian Dröge
0c50db66f0 Fix structure handling (almost) of caps
Make sure that we a) don't free structures of caps as we don't own them
and b) make sure to create a copy of all still referenced structures
before it gets removed, the caps are unreffed or something else happens.

This still needs to be fixed for gst_caps_do_simplify()!

This workaround is inspired by the one in gst-python.
2009-04-19 16:56:14 +02:00
Sebastian Dröge
f6fc3e62cf Use the native copy functions when creating a copy for ownership-taking functions
Using the managed Copy() function won't work as the managed object
will still own the reference and we would unref/free twice.
2009-04-18 16:21:53 +02:00
Sebastian Dröge
ffa5406b48 Fix/complete the Caps bindings
Also make sure in Gst.Structure that we're having a mutable structure
before changing any content.
2009-04-14 13:31:06 +02:00
Khaled Mohammed
196ad13ffb added missing files
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@65068 e3ebcda4-bce8-0310-ba0a-eca2169e7518
2006-09-07 16:24:30 +00:00