mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 23:48:53 +00:00
- offset is supposed to be a uint64
Original commit message from CVS: - offset is supposed to be a uint64
This commit is contained in:
parent
f8feed18a0
commit
74d9fe06f9
3 changed files with 5 additions and 5 deletions
|
@ -220,7 +220,7 @@ gst_buffer_new_and_alloc (guint size)
|
||||||
*/
|
*/
|
||||||
GstBuffer*
|
GstBuffer*
|
||||||
gst_buffer_new_from_pool (GstBufferPool *pool,
|
gst_buffer_new_from_pool (GstBufferPool *pool,
|
||||||
gint64 offset, guint size)
|
guint64 offset, guint size)
|
||||||
{
|
{
|
||||||
GstBuffer *buffer;
|
GstBuffer *buffer;
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ struct _GstBuffer {
|
||||||
|
|
||||||
/* bufferpools */
|
/* bufferpools */
|
||||||
|
|
||||||
typedef GstBuffer* (*GstBufferPoolBufferNewFunction) (GstBufferPool *pool, gint64 offset,
|
typedef GstBuffer* (*GstBufferPoolBufferNewFunction) (GstBufferPool *pool, guint64 offset,
|
||||||
guint size, gpointer user_data);
|
guint size, gpointer user_data);
|
||||||
typedef GstBuffer* (*GstBufferPoolBufferCopyFunction) (GstBufferPool *pool,
|
typedef GstBuffer* (*GstBufferPoolBufferCopyFunction) (GstBufferPool *pool,
|
||||||
const GstBuffer *buffer,
|
const GstBuffer *buffer,
|
||||||
|
@ -120,7 +120,7 @@ GstBuffer* gst_buffer_new_and_alloc (guint size);
|
||||||
|
|
||||||
/* creating a new buffer from a pool */
|
/* creating a new buffer from a pool */
|
||||||
GstBuffer* gst_buffer_new_from_pool (GstBufferPool *pool,
|
GstBuffer* gst_buffer_new_from_pool (GstBufferPool *pool,
|
||||||
gint64 offset, guint size);
|
guint64 offset, guint size);
|
||||||
|
|
||||||
#define gst_buffer_set_data(buf, data, size) \
|
#define gst_buffer_set_data(buf, data, size) \
|
||||||
G_STMT_START { \
|
G_STMT_START { \
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
* gstbuffer.c */
|
* gstbuffer.c */
|
||||||
|
|
||||||
static GstBuffer* _gst_buffer_pool_default_buffer_new (GstBufferPool *pool,
|
static GstBuffer* _gst_buffer_pool_default_buffer_new (GstBufferPool *pool,
|
||||||
gint64 offset, guint size,
|
guint64 offset, guint size,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
static void _gst_buffer_pool_default_buffer_free (GstBufferPool *pool,
|
static void _gst_buffer_pool_default_buffer_free (GstBufferPool *pool,
|
||||||
GstBuffer *buffer,
|
GstBuffer *buffer,
|
||||||
|
@ -113,7 +113,7 @@ gst_buffer_pool_get_default (guint buffer_size, guint pool_size)
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstBuffer*
|
static GstBuffer*
|
||||||
_gst_buffer_pool_default_buffer_new (GstBufferPool *pool, gint64 offset,
|
_gst_buffer_pool_default_buffer_new (GstBufferPool *pool, guint64 offset,
|
||||||
guint size, gpointer user_data)
|
guint size, gpointer user_data)
|
||||||
{
|
{
|
||||||
GstBuffer *buffer;
|
GstBuffer *buffer;
|
||||||
|
|
Loading…
Reference in a new issue