| Next: GStreamer::Caps::Any | Previous: GStreamer::Bus | [Gtk2-Perl - Table of Contents] | [Gtk2-Perl - Index] |
GStreamer::Caps
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);
To create a GStreamer::Caps object, you call one of the following constructors:
Glib::Boxed +----GStreamer::Caps
Copyright (C) 2005-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See GStreamer for a full notice.