Re: Porting perl-GStreamer to gst 1.0
- From: "Torsten Schönfeld" <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Porting perl-GStreamer to gst 1.0
- Date: Fri, 14 Nov 2014 09:33:31 +0100
"Timm Murray" <tmurray wumpus-cave net>:
I've made a full module out of it as Gst::*. I'm open to suggestions on the namespace; I don't necessarily
want to clobber the existing
GStreamer module on CPAN. I thought maybe doing GStreamer10, but putting the version in the namespace
doesn't seem right, either.
I agree that we should not reuse the "GStreamer" namespace, as people might still expect and rely on it to
refer to 0.x bindings. There's ample precedence of including the major version number in the namespace
(Gtk2, Gtk3, Gnome2, etc.). I don't think it's necessary to include the minor version in the namespace, as
libgstreamer promises API stability in 1.x. So I'd suggest "GStreamer1".
In your current module you unconditionally call Glib::Object::Introspection->setup for many typelibs which
might not be installed on all systems. The call will throw an exception in this case, which you should
probably trap at least for the optional typelibs. Also, you don't seem to be loading the base 'Gst-1.0'
typelib, but it probably gets pulled in by the others.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]