/usr/lib/perl5/GStreamer/Event.pod is in libgstreamer-perl 0.16-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | =head1 NAME
GStreamer::Event - Structure describing events that are passed up and down a pipeline
=cut
=for position DESCRIPTION
=head1 DESCRIPTION
The various event types are represented as subclasses:
=over
=item GStreamer::Event::FlushStart
=item GStreamer::Event::FlushStop
=item GStreamer::Event::EOS
=item GStreamer::Event::NewSegment
=item GStreamer::Event::Tag
=item GStreamer::Event::BufferSize
=item GStreamer::Event::QOS
=item GStreamer::Event::Seek
=item GStreamer::Event::Navigation
=item GStreamer::Event::Custom::UP
=item GStreamer::Event::Custom::DS
=item GStreamer::Event::Custom::DS::OOB
=item GStreamer::Event::Custom::Both
=item GStreamer::Event::Custom::Both::OOB
=back
To create a new event, you call the constructor of the corresponding class.
To check if an event is of a certain type, use the I<type> method:
if ($event -> type eq "newsegment") {
# ...
}
elsif ($event -> type eq "eos") {
# ...
}
To get to the content of an event, call the corresponding accessor:
if ($event -> type eq "newsegment") {
my $update = $event -> update;
my $rate = $event -> rate;
my $format = $event -> format;
my $start_value = $event -> start_value;
my $stop_value = $event -> stop_value;
my $stream_time = $event -> stream_time;
# ...
}
elsif ($event -> type eq "tag") {
my $tag = $event -> tag;
# ...
}
=cut
=for object GStreamer::Event Structure describing events that are passed up and down a pipeline
=cut
=head1 METHODS
=head2 structure = $event-E<gt>B<get_structure>
=head2 eventtype = $event-E<gt>B<type>
=cut
=head1 ENUMS AND FLAGS
=head2 enum GStreamer::EventType
=over
=item * 'unknown' / 'GST_EVENT_UNKNOWN'
=item * 'flush-start' / 'GST_EVENT_FLUSH_START'
=item * 'flush-stop' / 'GST_EVENT_FLUSH_STOP'
=item * 'eos' / 'GST_EVENT_EOS'
=item * 'newsegment' / 'GST_EVENT_NEWSEGMENT'
=item * 'tag' / 'GST_EVENT_TAG'
=item * 'buffersize' / 'GST_EVENT_BUFFERSIZE'
=item * 'sink-message' / 'GST_EVENT_SINK_MESSAGE'
=item * 'qos' / 'GST_EVENT_QOS'
=item * 'seek' / 'GST_EVENT_SEEK'
=item * 'navigation' / 'GST_EVENT_NAVIGATION'
=item * 'latency' / 'GST_EVENT_LATENCY'
=item * 'step' / 'GST_EVENT_STEP'
=item * 'custom-upstream' / 'GST_EVENT_CUSTOM_UPSTREAM'
=item * 'custom-downstream' / 'GST_EVENT_CUSTOM_DOWNSTREAM'
=item * 'custom-downstream-oob' / 'GST_EVENT_CUSTOM_DOWNSTREAM_OOB'
=item * 'custom-both' / 'GST_EVENT_CUSTOM_BOTH'
=item * 'custom-both-oob' / 'GST_EVENT_CUSTOM_BOTH_OOB'
=back
=cut
=head1 SEE ALSO
L<GStreamer>
=cut
=head1 COPYRIGHT
Copyright (C) 2005-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See L<GStreamer> for a full notice.
=cut
|