Next:
GStreamer::Iterator
Previous:
GStreamer::IndexFactory
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

GStreamer::Interfaces



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

AUTHOR

Torsten Schoenfeld <kaffeetisch at gmx dot de>

COPYRIGHT

Copyright (C) 2005-2006 by the gtk2-perl team
[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:00:01 2009