GStreamer::Interfaces.3pm

Langue: en

Version: 2010-03-20 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

GStreamer::Interfaces - Perl interface to the GStreamer Interfaces library

SYNOPSIS

   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);
 
 

ABSTRACT

GStreamer::Interfaces provides access to some of the interfaces in the GStreamer Interfaces library. Currently, that's GStreamer::PropertyProbe and GStreamer::XOverlay.

INTERFACES

GStreamer::PropertyProbe

pspecs = $element->get_probe_properties
pspec = $element->get_probe_property (name)
bool = $element->needs_probe (pspec)
$element->probe_property (pspec)
values = $element->get_probe_values (pspec)
values = $element->probe_get_probe_values (pspec)
bool = $element->needs_probe_name (name)
$element->probe_property_name (name)
values = $element->get_probe_values_name (name)
values = $element->probe_get_probe_values_name (name)

GStreamer::XOverlay

$overlay->set_xwindow_id (xwindow_id)
$overlay->expose
$overlay->got_xwindow_id (xwindow_id)
$overlay->prepare_xwindow_id
$overlay->handle_events (bool) (since 0.10.12)

AUTHOR

Torsten Schoenfeld <kaffeetisch at gmx dot de>
Copyright (C) 2005-2010 by the gtk2-perl team