Commit graph

126 commits

Author SHA1 Message Date
Sebastian Dröge
5ddc0b00d7 Fix c&p error in method name 2009-04-23 16:49:21 +02:00
Sebastian Dröge
4eddb6d8a3 Add a helper function to get the number of an event type 2009-04-23 16:01:57 +02:00
Sebastian Dröge
48fc341b06 Ref/unref the Src field of Gst.Event/Message when setting it 2009-04-23 14:39:50 +02:00
Sebastian Dröge
6e766fc1d5 Finish/fix Gst.Event bindings 2009-04-23 14:32:08 +02:00
Sebastian Dröge
f53f22bb32 Add missing file 2009-04-23 13:42:05 +02:00
Sebastian Dröge
faf8998be6 Update docs 2009-04-22 19:08:23 +02:00
Sebastian Dröge
6db069b4e8 Fix/complete the Gst.Query bindings 2009-04-22 19:08:00 +02:00
Sebastian Dröge
303724d400 Use the copy-on-unref workaround for newly created Application/Element/Custom messages 2009-04-22 12:46:28 +02:00
Sebastian Dröge
53ff480060 Dispose some more GLib.Values after usage 2009-04-22 12:40:17 +02:00
Sebastian Dröge
5278dd6486 Dispose GLib.Values after usage to close a memory leak 2009-04-22 12:35:56 +02:00
Sebastian Dröge
f7de461101 Make sure that the strings passed to native functions are UTF8 2009-04-22 12:33:43 +02:00
Sebastian Dröge
e1ea52daaf Check the cached message structure for null before trying to create a copy 2009-04-22 11:55:52 +02:00
Sebastian Dröge
02e2d6e3fc Also use the copy-on-unref workaround for the message-owned Structure here instead of always copying 2009-04-22 11:54:49 +02:00
Sebastian Dröge
5a58c3dc24 Add some convenience overloads for some Message methods and make the parse methods more consistent 2009-04-22 08:07:55 +02:00
Sebastian Dröge
bdda44d849 Fix bindings of the tag merge functions 2009-04-21 19:27:35 +02:00
Sebastian Dröge
d835a93153 Call the _get_type() functions of some types on Init() to make sure they're registred by Gtk# 2009-04-21 19:27:05 +02:00
Sebastian Dröge
a23154fc2f Complete/fix bindings for Gst.Tag and Gst.TagList 2009-04-21 14:31:29 +02:00
Sebastian Dröge
a31f1e8180 Remove unused private field 2009-04-21 14:31:10 +02:00
Sebastian Dröge
e48b6ffc51 Return a string[] instead of IEnumerable for the Fields property to get all fields 2009-04-21 14:25:59 +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
55df427fab Make sure that every second parameter to Structure.Add(...) is a string 2009-04-20 20:53:01 +02:00
Sebastian Dröge
7fb126bfd1 Fix some more structure ownerships 2009-04-19 18:29:19 +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
f15f6c0091 Fix indention 2009-04-19 16:53:15 +02:00
Sebastian Dröge
40fc4c1412 Put tags into the Tag class instead of a new Tags class
Also remove the void ctor of the Tag class, it's not meant to be instantiated
2009-04-18 16:43:15 +02:00
Sebastian Dröge
90b4cbfa0b Update docs 2009-04-18 16:32:59 +02:00
Sebastian Dröge
a24521be88 We actually don't own the structure returned by gst_message_get_structure() 2009-04-18 16:27:32 +02:00
Sebastian Dröge
cdb05eac31 Add/fix complete bindings of Gst.Message 2009-04-18 16:24:12 +02:00
Sebastian Dröge
21704d8efe Add CoreError/StreamError/etc enum types 2009-04-18 16:23:43 +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
c1eeb9c6bd Implement Gst.MiniObject.Copy() manually to get the correct type from the instance 2009-04-18 16:21:16 +02:00
Sebastian Dröge
431b934fb5 Add generated Tags class 2009-04-18 16:20:24 +02:00
Sebastian Dröge
87786e2e90 Add generated Tags class and remove hand-written CommonTags class 2009-04-17 16:44:14 +02:00
Sebastian Dröge
31a1bb9ca2 Add utility to automatically generate a static class with tags definitions from a C header 2009-04-17 16:41:00 +02:00
Sebastian Dröge
a97db534ed Cleanup glue and GError handling 2009-04-16 22:19:59 +02:00
Sebastian Dröge
6b4fc89778 Fix indention 2009-04-16 21:52:47 +02:00
Sebastian Dröge
8e216fcd21 Use new custom GLib.Value support for gtk-sharp trunk 2009-04-16 21:52:21 +02:00
Sebastian Dröge
47fc2f04f6 Disable obsolete Type(GLib.GType) constructors everywhere 2009-04-16 17:48:31 +02:00
Sebastian Dröge
5f09bf0641 Update to 0.10.22.2 and add the _get_type() functions for enum/flags types 2009-04-16 12:17:02 +02:00
Sebastian Dröge
294b5df8f7 gst_pad_template_new() takes ownership of the caps, reference them
Also rename and cleanup some PadTemplate members
2009-04-15 14:40:09 +02:00
Sebastian Dröge
b24a603570 Drop StaticCaps bindings and let the StaticPadTemplate bindings be autogenerated
Also fix some reference ownership issues in the StaticPadTemplate bindings
and make them a read-only container without any way to create new instances.

We don't need StaticCaps anywhere and StaticPadTemplates only for reading
the static pad templates of an element factory.
2009-04-15 13:26:54 +02:00
Sebastian Dröge
65b728234f Add Gst.StaticPadTemplate.Free() and fix indention 2009-04-14 17:58:28 +02:00
Sebastian Dröge
79931bf601 Fix and complete Static{PadTemplate,Caps} bindings 2009-04-14 17:55:19 +02:00
Sebastian Dröge
f380194b1a Make tests and samples compile again 2009-04-14 13:42:24 +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
Sebastian Dröge
4b72aea9d5 Fix Gst.Buffer bindings 2009-04-13 13:27:26 +02:00
Sebastian Dröge
5eef87e58a Update docs 2009-04-12 20:56:06 +02:00
Sebastian Dröge
4a716f3ba2 Fix MiniObject bindings 2009-04-12 20:55:11 +02:00
Sebastian Dröge
652b922790 Rename {Buffer,Tag}Flag to {Buffer,Tag}Flags for consistency 2009-04-12 20:54:33 +02:00
Sebastian Dröge
6f840992fb Mark MiniObject and PluginFeature as abstract classes 2009-04-11 20:08:35 +02:00