1GStreamer::Buffer(3) User Contributed Perl Documentation GStreamer::Buffer(3)
2
3
4
6 GStreamer::Buffer
7
9 GstBuffer = GStreamer::Buffer->new
10 caps or undef = $buffer->get_caps
11 $buffer->set_caps ($caps)
12 · $caps (GStreamer::Caps)
13
14 GstBuffer = $parent->create_sub ($offset, $size)
15 · $offset (integer)
16
17 · $size (integer)
18
19 scalar = $buffer->data
20 $buf->set_data ($data)
21 · $data (scalar)
22
23 unsigned integer = $buffer->duration
24 bufferflag = $buffer->flags
25 boolean = $buf1->is_span_fast ($buf2)
26 · $buf2 (GstBuffer)
27
28 GstBuffer = $buf1->join ($buf2)
29 · $buf2 (GstBuffer)
30
31 GstBuffer = $buf1->merge ($buf2)
32 · $buf2 (GstBuffer)
33
34 uint64 = $buffer->offset
35 uint64 = $buffer->offset_end
36 integer = $buffer->size
37 GstBuffer = $buf1->span ($offset, $buf2, $len)
38 · $offset (unsigned)
39
40 · $buf2 (GstBuffer)
41
42 · $len (unsigned)
43
44 $dest->stamp ($src)
45 · $src (GstBuffer)
46
47 unsigned integer = $buffer->timestamp
49 flags GStreamer::BufferFlag
50 · 'readonly' / 'GST_BUFFER_FLAG_READONLY'
51
52 · 'preroll' / 'GST_BUFFER_FLAG_PREROLL'
53
54 · 'discont' / 'GST_BUFFER_FLAG_DISCONT'
55
56 · 'in-caps' / 'GST_BUFFER_FLAG_IN_CAPS'
57
58 · 'gap' / 'GST_BUFFER_FLAG_GAP'
59
60 · 'delta-unit' / 'GST_BUFFER_FLAG_DELTA_UNIT'
61
62 · 'media1' / 'GST_BUFFER_FLAG_MEDIA1'
63
64 · 'media2' / 'GST_BUFFER_FLAG_MEDIA2'
65
66 · 'media3' / 'GST_BUFFER_FLAG_MEDIA3'
67
68 · 'last' / 'GST_BUFFER_FLAG_LAST'
69
71 GStreamer
72
74 Copyright (C) 2005-2008 by the gtk2-perl team.
75
76 This software is licensed under the LGPL. See GStreamer for a full
77 notice.
78
79
80
81perl v5.12.0 2010-05-02 GStreamer::Buffer(3)