| Next: GStreamer::Iterator | Previous: GStreamer::IndexFactory | [Gtk2-Perl - Table of Contents] | [Gtk2-Perl - Index] |
GStreamer::Interfaces - Perl interface to the GStreamer Interfaces library
use GStreamer::Interfaces;
# GStreamer::PropertyProbe
my $sink = GStreamer::ElementFactory -> make(alsasink => "sink");
my $pspec = $sink -> get_probe_property("device");
if ($sink -> needs_probe($pspec)) {
$sink -> probe_property($pspec);
}
my @devices = $sink -> get_probe_values($pspec);
# GStreamer::XOverlay
my $overlay = GStreamer::ElementFactory -> make(xvimagesink => "overlay");
$overlay -> set_xwindow_id($xid);
GStreamer::Interfaces provides access to some of the interfaces in the GStreamer Interfaces library. Currently, that's GStreamer::PropertyProbe and GStreamer::XOverlay.