Re: Are there Perl bindings for gstreamer-1.0?
- From: Steve Cookson <it sca-uk com>
- To: Terence Ferraro <terencejferraro gmail com>
- Cc: GTK-Perl List <gtk-perl-list gnome org>
- Subject: Re: Are there Perl bindings for gstreamer-1.0?
- Date: Wed, 30 Apr 2014 19:37:44 +0100
Hi Terence,
Well I got this too:
On 28/04/14 19:57, Terence Ferraro wrote:
It looks like it hands off a: Source:
Glib::Object::_Unregistered::GstPlaySink=HASH(0x8af8a40) as the $src.
You'll then need to set that to the window id of the drawable,
somehow. Let me know if you have any luck. Otherwise, I can look into
this a little further tonight or tomorrow.
The required command seems to be "set_window_handle", which in turn is a
member of gst_video_overlay (according to grep -A1 set_window_handle
/usr/share/gir-1.0/Gst*-1.0.gir) or GstVideoOverlay (according to the
object itself):
no strict 'refs';
for(keys %Glib::Object::_Unregistered::) { # All the symbols in
Glib::Object::_Unregistered::GstXImageSink's symbol table
print "$_\n" ;
}
use strict 'refs';
Gives:
GstVideoSink::
GstVideoTestSrc::
GstNavigation::
GstXImageSink::
GstVideoOverlay::
GstCapsFilter::
But I don't see how to go from $src to its base-class object (if such a
beast exists) to use set_window_handle.
$src->get_parent() just gives me 'pipeline', which doesn't help.
What do you think?
Regards
Steve.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]