GStreamer-Interfaces

 view release on metacpan or  search on metacpan

gstinterfacesperl.h  view on Meta::CPAN

 *
 * $Id$
 */

#ifndef _GSTINTERFACES2PERL_H_
#define _GSTINTERFACES2PERL_H_

#include <gst2perl.h>

#include <gst/interfaces/propertyprobe.h>
#include <gst/interfaces/xoverlay.h>

#include "gstinterfacesperl-version.h"
#include "gstinterfacesperl-autogen.h"

#endif /* _GSTINTERFACES2PERL_H_ */

lib/GStreamer/Interfaces.pm  view on Meta::CPAN

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

=head1 ABSTRACT

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

=head1 DESCRIPTION

B<NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE>

lib/GStreamer/Interfaces.pm  view on Meta::CPAN

=item values = $element->get_probe_values_name (name)

=item values = $element->probe_get_probe_values_name (name)

=back

=head2 GStreamer::XOverlay

=over

=item $overlay->set_xwindow_id (xwindow_id)

=item $overlay->expose

=item $overlay->got_xwindow_id (xwindow_id)

=item $overlay->prepare_xwindow_id

=item $overlay->handle_events (bool) (since 0.10.12)

=back

=head1 AUTHOR

=over

=item Torsten Schoenfeld E<lt>kaffeetisch at gmx dot deE<gt>

=back

xs/GstXOverlay.xs  view on Meta::CPAN

 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, see
 * <https://www.gnu.org/licenses/>.
 *
 * $Id$
 */

#include "gstinterfacesperl.h"

MODULE = GStreamer::XOverlay	PACKAGE = GStreamer::XOverlay	PREFIX = gst_x_overlay_

void gst_x_overlay_set_xwindow_id (GstXOverlay *overlay, gulong xwindow_id);

void gst_x_overlay_expose (GstXOverlay *overlay);

void gst_x_overlay_got_xwindow_id (GstXOverlay *overlay, gulong xwindow_id);

void gst_x_overlay_prepare_xwindow_id (GstXOverlay *overlay);

#if GST_INTERFACES_CHECK_VERSION(0, 10, 12)

void gst_x_overlay_handle_events (GstXOverlay * overlay, gboolean handle_events);

#endif



( run in 0.282 second using v1.01-cache-2.11-cpan-49f99fa48dc )