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

John Luke jluke@users.sourceforge.net
Fri, 07 Nov 2003 16:19:44 -0500


On Fri, 2003-11-07 at 12:23, Andrei Ivanov wrote:

> > 
> > 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 same thing is on a gentoo distro...
> 
I forgot to add a line to mono/data/config.in:
<dllmap dll="gstreamer" target="libgstreamer-0.6.so" />
Can you guys add this to your $prefix/etc/mono/config 

> > 
> > 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 am now getting this warnings sometimes as well.  What is weird is that
running with mint doesn't produce it.  I will need to compile mono from
cvs to test if it works.  The IndexOutOfRangeException is likely because
it expects a path to a ogg file:
mono GstPlayer.exe ~/test.ogg

I will add a small usage test and statement to the example.
> > 
> > I don't know if they are related, however
> > 
> 
> There is something wrong with the vorbisfile codec (or something like 
> that). I've changed it to mad, and the error was gone...