1GStreamer::Bus(3) User Contributed Perl Documentation GStreamer::Bus(3)
2
3
4
6 GStreamer::Bus
7
9 Glib::Object
10 +----GStreamer::Object
11 +----GStreamer::Bus
12
14 bus = GStreamer::Bus->new
15
16 $bus->add_signal_watch
17
18 integer = $bus->add_watch ($func, $data=undef)
19
20 * $func (scalar)
21 * $data (scalar)
22
23 $bus->set_flushing ($flushing)
24
25 * $flushing (boolean)
26
27 boolean = $bus->have_pending
28
29 message or undef = $bus->peek
30
31 message or undef = $bus->poll ($events, $timeout)
32
33 * $events (GStreamer::MessageType)
34 * $timeout (integer)
35
36 message or undef = $bus->pop
37
38 boolean = $bus->post ($message)
39
40 * $message (GstMessage)
41
42 $bus->remove_signal_watch
43
45 sync-message (GStreamer::Bus, GstMessage)
46 message (GStreamer::Bus, GstMessage)
47
49 flags GStreamer::MessageType
50
51 * 'unknown' / 'GST_MESSAGE_UNKNOWN'
52 * 'eos' / 'GST_MESSAGE_EOS'
53 * 'error' / 'GST_MESSAGE_ERROR'
54 * 'warning' / 'GST_MESSAGE_WARNING'
55 * 'info' / 'GST_MESSAGE_INFO'
56 * 'tag' / 'GST_MESSAGE_TAG'
57 * 'buffering' / 'GST_MESSAGE_BUFFERING'
58 * 'state-changed' / 'GST_MESSAGE_STATE_CHANGED'
59 * 'state-dirty' / 'GST_MESSAGE_STATE_DIRTY'
60 * 'step-done' / 'GST_MESSAGE_STEP_DONE'
61 * 'clock-provide' / 'GST_MESSAGE_CLOCK_PROVIDE'
62 * 'clock-lost' / 'GST_MESSAGE_CLOCK_LOST'
63 * 'new-clock' / 'GST_MESSAGE_NEW_CLOCK'
64 * 'structure-change' / 'GST_MESSAGE_STRUCTURE_CHANGE'
65 * 'stream-status' / 'GST_MESSAGE_STREAM_STATUS'
66 * 'application' / 'GST_MESSAGE_APPLICATION'
67 * 'element' / 'GST_MESSAGE_ELEMENT'
68 * 'segment-start' / 'GST_MESSAGE_SEGMENT_START'
69 * 'segment-done' / 'GST_MESSAGE_SEGMENT_DONE'
70 * 'duration' / 'GST_MESSAGE_DURATION'
71 * 'any' / 'GST_MESSAGE_ANY'
72
74 GStreamer, Glib::Object, GStreamer::Object
75
77 Copyright (C) 2005-2006 by the gtk2-perl team.
78
79 This software is licensed under the LGPL. See GStreamer for a full
80 notice.
81
82
83
84perl v5.8.8 2007-02-20 GStreamer::Bus(3)