Provided by: libgstreamer-perl_0.19-1_amd64
NAME
GStreamer::Buffer - Data-passing buffer type, supporting sub-buffers.
METHODS
GstBuffer = GStreamer::Buffer->new caps or undef = $buffer->get_caps $buffer->set_caps ($caps) • $caps (GStreamer::Caps) GstBuffer = $parent->create_sub ($offset, $size) • $offset (integer) • $size (integer) scalar = $buffer->data void = $buffer->data_ptr $buf->set_data ($data) • $data (scalar) unsigned integer = $buffer->duration bufferflag = $buffer->flags boolean = $buf1->is_span_fast ($buf2) • $buf2 (GstBuffer) GstBuffer = $buf1->join ($buf2) • $buf2 (GstBuffer) GstBuffer = $buf1->merge ($buf2) • $buf2 (GstBuffer) 64 bit unsigned = $buffer->offset 64 bit unsigned = $buffer->offset_end integer = $buffer->size GstBuffer = $buf1->span ($offset, $buf2, $len) • $offset (unsigned) • $buf2 (GstBuffer) • $len (unsigned) $dest->stamp ($src) • $src (GstBuffer) unsigned integer = $buffer->timestamp
ENUMS AND FLAGS
flags GStreamer::BufferFlag • 'readonly' / 'GST_BUFFER_FLAG_READONLY' • 'media4' / 'GST_BUFFER_FLAG_MEDIA4' • 'preroll' / 'GST_BUFFER_FLAG_PREROLL' • 'discont' / 'GST_BUFFER_FLAG_DISCONT' • 'in-caps' / 'GST_BUFFER_FLAG_IN_CAPS' • 'gap' / 'GST_BUFFER_FLAG_GAP' • 'delta-unit' / 'GST_BUFFER_FLAG_DELTA_UNIT' • 'media1' / 'GST_BUFFER_FLAG_MEDIA1' • 'media2' / 'GST_BUFFER_FLAG_MEDIA2' • 'media3' / 'GST_BUFFER_FLAG_MEDIA3' • 'last' / 'GST_BUFFER_FLAG_LAST'
SEE ALSO
GStreamer
COPYRIGHT
Copyright (C) 2005-2011 by the gtk2-perl team. This software is licensed under the LGPL. See GStreamer for a full notice.