[squeak-dev] gstreamer on the mac?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] gstreamer on the mac?

johnmci
Various folks have asked can't we have GStreamer on os-x?
Well yes if you care to install a hundred packages in a terminal  
session.

But what if you statically link everything?

Ok I tried that, I get a binary that links fine, but sadly after  
gstreamer is initialized, when we try to load
a GStreamer plugin we get

(<unknown>:11870): GLib-GObject-CRITICAL **: gtype.c:2242:  
initialization assertion failed, use g_type_init() prior to this  
function

The obvious thing would be toput  g_type_init() in the GStreamer  
initialization, not that it's needed when it's dynamically linked,
well yes I've done that, and still no go.

I'm wondering if anyone wants to help, I can supply the XCode package,  
or of course you can use the GStreamer makefile with the
needed linker statements to build a binary.


  --
=
=
=
========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] gstreamer on the mac?

Joshua Gargus-2

On Apr 23, 2008, at 3:13 PM, John M McIntosh wrote:

> Various folks have asked can't we have GStreamer on os-x?
> Well yes if you care to install a hundred packages in a terminal  
> session.
>

Did you use MacPorts (http://www.macports.org)?  Still a bit tedious,  
but better than installing the packages manually.

> But what if you statically link everything?

What do you mean by "everything"?  All of the plugins (good, bad,  
ugly) also statically linked into one binary?

>
>
> Ok I tried that, I get a binary that links fine, but sadly after  
> gstreamer is initialized, when we try to load
> a GStreamer plugin we get
>
> (<unknown>:11870): GLib-GObject-CRITICAL **: gtype.c:2242:  
> initialization assertion failed, use g_type_init() prior to this  
> function
>
> The obvious thing would be toput  g_type_init() in the GStreamer  
> initialization, not that it's needed when it's dynamically linked,
> well yes I've done that, and still no go.

Still no-go with exactly the same error?

Josh


>
> I'm wondering if anyone wants to help, I can supply the XCode  
> package, or of course you can use the GStreamer makefile with the
> needed linker statements to build a binary.
>
>
> --
> =
> =
> =
> =
> =
> ======================================================================
> John M. McIntosh <[hidden email]>
> Corporate Smalltalk Consulting Ltd.  http://
> www.smalltalkconsulting.com
> =
> =
> =
> =
> =
> ======================================================================
>
>
>