1GStreamer::Buffer(3) User Contributed Perl Documentation GStreamer::Buffer(3)
2
3
4
6 GStreamer::Buffer
7
9 GstBuffer = GStreamer::Buffer->new
10
11 caps or undef = $buffer->get_caps
12
13 $buffer->set_caps ($caps)
14
15 * $caps (GStreamer::Caps)
16
17 GstBuffer = $parent->create_sub ($offset, $size)
18
19 * $offset (integer)
20 * $size (integer)
21
22 scalar = $buffer->data
23
24 $buf->set_data ($data)
25
26 * $data (scalar)
27
28 unsigned integer = $buffer->duration
29
30 bufferflag = $buffer->flags
31
32 boolean = $buf1->is_span_fast ($buf2)
33
34 * $buf2 (GstBuffer)
35
36 GstBuffer = $buf1->join ($buf2)
37
38 * $buf2 (GstBuffer)
39
40 GstBuffer = $buf1->merge ($buf2)
41
42 * $buf2 (GstBuffer)
43
44 uint64 = $buffer->offset
45
46 uint64 = $buffer->offset_end
47
48 integer = $buffer->size
49
50 GstBuffer = $buf1->span ($offset, $buf2, $len)
51
52 * $offset (unsigned)
53 * $buf2 (GstBuffer)
54 * $len (unsigned)
55
56 $dest->stamp ($src)
57
58 * $src (GstBuffer)
59
60 unsigned integer = $buffer->timestamp
61
63 flags GStreamer::BufferFlag
64
65 * 'readonly' / 'GST_BUFFER_FLAG_READONLY'
66 * 'preroll' / 'GST_BUFFER_FLAG_PREROLL'
67 * 'discont' / 'GST_BUFFER_FLAG_DISCONT'
68 * 'in-caps' / 'GST_BUFFER_FLAG_IN_CAPS'
69 * 'gap' / 'GST_BUFFER_FLAG_GAP'
70 * 'delta-unit' / 'GST_BUFFER_FLAG_DELTA_UNIT'
71 * 'last' / 'GST_BUFFER_FLAG_LAST'
72
74 GStreamer
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::Buffer(3)