[gst-devel] First pass GObject port done

Erik Walthinsen omega at temple-baptist.com
Thu Jun 14 00:07:35 CEST 2001


I've completed the first pass, which is getting all of libgst.la to
compile without gtk, which means porting it to glib-2.0 and the GObject
model.  I have run exactly zero tests on it so far ;-)

Next step is to get the common elements to function, then to make whatever
changes are needed to the basic tests, and verify that data still flows
properly between the fake elements, that signals fire, and
arguments/params operate as expected.  Then I'll tag it and start on the
plugins.  I'll need to write a Perl script to do some of the changes
needed, specifically the GTypeInfo struct has been completely redone, so
as to require some interesting tricks there.  The argument registration
code is also quite different, and more useful, but can't be done with a
simple sed.  Most of the other changes are handled by a long file full of
sed's I've built.

Once I get the entire branch running properly, I'll go and do a diff with
the intent of constructing wrappers that will allow compilation against
gtk 1.2.  From what I've learned doing the port, I believe it is indeed
possible to do this relatively painlessly.  We'll see though.


      Erik Walthinsen <omega at temple-baptist.com> - System Administrator
        __
       /  \                GStreamer - The only way to stream!
      |    | M E G A        ***** http://gstreamer.net/ *****
      _\  /_





More information about the gstreamer-devel mailing list