Next:
GStreamer::Caps::Any
Previous:
GStreamer::Bus
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

GStreamer::Caps



NAME

GStreamer::Caps

SYNOPSIS

  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)

$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

GStreamer, Glib::Boxed

COPYRIGHT

Copyright (C) 2005-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See GStreamer for a full notice.


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 22:59:48 2009