GStreamer::Buffer.3pm

Langue: en

Version: 2008-01-15 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

GStreamer::Buffer

METHODS


GstBuffer = GStreamer::Buffer->new


caps or undef = $buffer->get_caps


caps or undef = $buffer->get_caps


$buffer->set_caps ($caps)


$buffer->set_caps ($caps)

$caps (GStreamer::Caps)

GstBuffer = $parent->create_sub ($offset, $size)


GstBuffer = $parent->create_sub ($offset, $size)

$offset (integer)
$size (integer)

scalar = $buffer->data


scalar = $buffer->data


$buf->set_data ($data)


$buf->set_data ($data)

$data (scalar)

unsigned integer = $buffer->duration


unsigned integer = $buffer->duration


bufferflag = $buffer->flags


bufferflag = $buffer->flags


boolean = $buf1->is_span_fast ($buf2)


boolean = $buf1->is_span_fast ($buf2)

$buf2 (GstBuffer)

GstBuffer = $buf1->join ($buf2)


GstBuffer = $buf1->join ($buf2)

$buf2 (GstBuffer)

GstBuffer = $buf1->merge ($buf2)


GstBuffer = $buf1->merge ($buf2)

$buf2 (GstBuffer)

uint64 = $buffer->offset


uint64 = $buffer->offset


uint64 = $buffer->offset_end


uint64 = $buffer->offset_end


integer = $buffer->size


integer = $buffer->size


GstBuffer = $buf1->span ($offset, $buf2, $len)


GstBuffer = $buf1->span ($offset, $buf2, $len)

$offset (unsigned)
$buf2 (GstBuffer)
$len (unsigned)

$dest->stamp ($src)


$dest->stamp ($src)

$src (GstBuffer)

unsigned integer = $buffer->timestamp


unsigned integer = $buffer->timestamp

ENUMS AND FLAGS


flags GStreamer::BufferFlag

'readonly' / 'GST_BUFFER_FLAG_READONLY'
'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'
'last' / 'GST_BUFFER_FLAG_LAST'

SEE ALSO

GStreamer Copyright (C) 2005-2006 by the gtk2-perl team.

This software is licensed under the LGPL. See GStreamer for a full notice.