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 void = $buffer->data_ptr
21 $buf->set_data ($data)
22 · $data (scalar)
23
24 unsigned integer = $buffer->duration
25 bufferflag = $buffer->flags
26 boolean = $buf1->is_span_fast ($buf2)
27 · $buf2 (GstBuffer)
28
29 GstBuffer = $buf1->join ($buf2)
30 · $buf2 (GstBuffer)
31
32 GstBuffer = $buf1->merge ($buf2)
33 · $buf2 (GstBuffer)
34
35 64 bit unsigned = $buffer->offset
36 64 bit unsigned = $buffer->offset_end
37 integer = $buffer->size
38 GstBuffer = $buf1->span ($offset, $buf2, $len)
39 · $offset (unsigned)
40
41 · $buf2 (GstBuffer)
42
43 · $len (unsigned)
44
45 $dest->stamp ($src)
46 · $src (GstBuffer)
47
48 unsigned integer = $buffer->timestamp
50 flags GStreamer::BufferFlag
51 · 'readonly' / 'GST_BUFFER_FLAG_READONLY'
52
53 · 'media4' / 'GST_BUFFER_FLAG_MEDIA4'
54
55 · 'preroll' / 'GST_BUFFER_FLAG_PREROLL'
56
57 · 'discont' / 'GST_BUFFER_FLAG_DISCONT'
58
59 · 'in-caps' / 'GST_BUFFER_FLAG_IN_CAPS'
60
61 · 'gap' / 'GST_BUFFER_FLAG_GAP'
62
63 · 'delta-unit' / 'GST_BUFFER_FLAG_DELTA_UNIT'
64
65 · 'media1' / 'GST_BUFFER_FLAG_MEDIA1'
66
67 · 'media2' / 'GST_BUFFER_FLAG_MEDIA2'
68
69 · 'media3' / 'GST_BUFFER_FLAG_MEDIA3'
70
71 · 'last' / 'GST_BUFFER_FLAG_LAST'
72
74 GStreamer
75
77 Copyright (C) 2005-2014 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.30.0 2019-09-19 GStreamer::Buffer(3)