Rechercher une page de manuel
GStreamer::Caps.3pm
Langue: en
Version: 2010-05-02 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- SYNOPSIS
- DESCRIPTION
- HIERARCHY
- METHODS
- $caps1->append ($caps2)
- $caps->append_structure ($structure)
- boolean = $caps->do_simplify
- caps = GStreamer::Caps->from_string ($string)
- caps = $caps1->intersect ($caps2)
- boolean = $caps1->is_always_compatible ($caps2)
- boolean = $caps->is_any
- boolean = $caps->is_empty
- boolean = $caps1->is_equal ($caps2)
- boolean = $caps1->is_equal_fixed ($caps2)
- boolean = $caps->is_fixed
- boolean = $subset->is_subset ($superset)
- caps = $caps->make_writable
- caps = $caps->normalize
- $caps->set_simple ($field, $type, $value, ...)
- integer = $caps->get_size
- structure = $caps->get_structure ($index)
- caps = $minuend->subtract ($subtrahend)
- string = $caps->to_string
- $caps->truncate
- caps = $caps1->union ($caps2)
- SEE ALSO
- COPYRIGHT
NAME
GStreamer::CapsSYNOPSIS
my $empty = GStreamer::Caps::Empty -> new(); my $any = GStreamer::Caps::Any -> new(); my $structure = { name => "urgs", fields => [ [field_one => "Glib::String" => "urgs"], [field_two => "Glib::Int" => 23] ] }; my $full = GStreamer::Caps::Full -> new($structure); my $simple = GStreamer::Caps::Simple -> new( "audio/mpeg", field_one => "Glib::String" => "urgs", field_two => "Glib::Int" => 23);
DESCRIPTION
To create a GStreamer::Caps object, you call one of the following constructors:- GStreamer::Caps::Any->new
- GStreamer::Caps::Empty->new
- GStreamer::Caps::Full->new
- GStreamer::Caps::Simple->new
HIERARCHY
Glib::Boxed +----GStreamer::Caps
METHODS
$caps1->append ($caps2)
-
- *
- $caps2 (GStreamer::Caps)
$caps->append_structure ($structure)
-
- *
- $structure (GStreamer::Structure)
boolean = $caps->do_simplify
caps = GStreamer::Caps->from_string ($string)
-
- *
- $string (string)
caps = $caps1->intersect ($caps2)
-
- *
- $caps2 (GStreamer::Caps)
boolean = $caps1->is_always_compatible ($caps2)
-
- *
- $caps2 (GStreamer::Caps)
boolean = $caps->is_any
boolean = $caps->is_empty
boolean = $caps1->is_equal ($caps2)
-
- *
- $caps2 (GStreamer::Caps)
boolean = $caps1->is_equal_fixed ($caps2)
-
- *
- $caps2 (GStreamer::Caps)
boolean = $caps->is_fixed
boolean = $subset->is_subset ($superset)
-
- *
- $superset (GStreamer::Caps)
caps = $caps->make_writable
caps = $caps->normalize
$caps->set_simple ($field, $type, $value, ...)
-
- *
- $field (string)
- *
- $type (string)
- *
- $value (scalar)
- *
- ... (list)
integer = $caps->get_size
structure = $caps->get_structure ($index)
-
- *
- $index (integer)
caps = $minuend->subtract ($subtrahend)
-
- *
- $subtrahend (GStreamer::Caps)
string = $caps->to_string
$caps->truncate
caps = $caps1->union ($caps2)
-
- *
- $caps2 (GStreamer::Caps)
SEE ALSO
GStreamer, Glib::BoxedCOPYRIGHT
Copyright (C) 2005-2008 by the gtk2-perl team.This software is licensed under the LGPL. See GStreamer for a full notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre