Re: Porting perl-GStreamer to gst 1.0
- From: Timm Murray <tmurray wumpus-cave net>
- To: gtk-perl-list gnome org
- Subject: Re: Porting perl-GStreamer to gst 1.0
- Date: Fri, 14 Nov 2014 09:34:55 -0600
Was working on this more last night and commented most of the Gst* libs out. Haven't yet pushed those changes.
The plain Gst typelib is loaded, there's just a little trick to it:
foreach my $name ('', ('Allocators', ...)) {
my $basename = 'Gst' . $name;
my $pkg = $name
? 'Gst::' . $name
: 'Gst';
...
}
That initial empty string in the foreach loop will end up building $basename and $pkg as 'Gst'. I should probably comment that.
Ed> If the CPAN GStreamer doesn’t work properly now, then it ought to be clobbered?
That's the thing--it works fine as far as it goes. It's just compiled against a deprecated version of the API (0.10), and there's no straightforward way to compile it against the new stuff (1.0).
Given the precedent set by Gtk2 and the like, I think making it GStreamer1 will be fine.
Thanks,
Timm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]