[Gtk-sharp-list] gst-sharp 0.6 patch

Philip Van Hoof me@freax.org
Thu, 06 Nov 2003 17:03:31 +0100


On Sun, 2003-11-02 at 13:18 -0500, John Luke wrote:
> Hello,
> 
> Here is a patch to update gst# into 0.6 version.  It even compiles and
> runs the samples, but they do not quite work yet.  (bin.Iterate () is
> always returning false and thus nothing is played.)  Also, it depends on
> the patch from yesterday to the generator for Callbacks with out
> parameters.
> 
> Is this ok to commit?

Hi there Jhon,

As I already told you on IRC, we are waiting for Gst# :). But don't let
me push you or something. But of course, once I read your post, I wanted
to test this.

Resulting me with two issues. One issue, on RH9, is that there is no
libgstreamer.so file, only a libgstreamer-0.6.so file. But this might be
an issue with the RH9 packages? I tried fixing this by creating a
symlink.

The other issue is a gstreamer-warning followed by a .NET exception:

WARNING **: Failed to load function gst_filesrc_get_type from gstreamer

Unhandled Exception: System.IndexOutOfRangeException: Array index is out
of range
in <0x0006d> .GstTest:Main (string[])


I don't know if they are related, however


Btw. Thanks for the work on Gst#. If there is anything I can do to speed
things up, you know you can ask me :).


[root@localhost sample]# ln -s /usr/lib/libgstreamer-0.6.so /usr/lib/
libgstreamer.so
[root@localhost sample]# exit
exit
[freax@localhost sample]$ mono GstPlayer.exe
INFO (20894: 0) Initializing GStreamer Core Library version 0.6.0
INFO (20894: 0) CPU features: (00000000) MMX SSE
registry: loaded global_registry in 0.114686 seconds
          (/var/cache/gstreamer-0.6/registry.xml)
 
** (GstPlayer.exe:20894): WARNING **: Failed to load function
gst_filesrc_get_type from gstreamer
 
** (GstPlayer.exe:20894): WARNING **: Failed to load function
gst_filesrc_get_type from gstreamer
 
Unhandled Exception: System.IndexOutOfRangeException: Array index is out
of range
in <0x0006d> .GstTest:Main (string[])
 
[freax@localhost sample]$

Note that this is a RH9 with Ximian D2



-- 
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org
work: Philip dot VanHoof at cronos dot be
http://www.freax.be, http://www.freax.eu.org