mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +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*
|
||||
gst_buffer_new_from_pool (GstBufferPool *pool,
|
||||
gint64 offset, guint size)
|
||||
guint64 offset, guint size)
|
||||
{
|
||||
GstBuffer *buffer;
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ struct _GstBuffer {
|
|||
|
||||
/* bufferpools */
|
||||
|
||||
typedef GstBuffer* (*GstBufferPoolBufferNewFunction) (GstBufferPool *pool, gint64 offset,
|
||||
typedef GstBuffer* (*GstBufferPoolBufferNewFunction) (GstBufferPool *pool, guint64 offset,
|
||||
guint size, gpointer user_data);
|
||||
typedef GstBuffer* (*GstBufferPoolBufferCopyFunction) (GstBufferPool *pool,
|
||||
const GstBuffer *buffer,
|
||||
|
@ -120,7 +120,7 @@ GstBuffer* gst_buffer_new_and_alloc (guint size);
|
|||
|
||||
/* creating a new buffer from a 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) \
|
||||
G_STMT_START { \
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
* gstbuffer.c */
|
||||
|
||||
static GstBuffer* _gst_buffer_pool_default_buffer_new (GstBufferPool *pool,
|
||||
gint64 offset, guint size,
|
||||
guint64 offset, guint size,
|
||||
gpointer user_data);
|
||||
static void _gst_buffer_pool_default_buffer_free (GstBufferPool *pool,
|
||||
GstBuffer *buffer,
|
||||
|
@ -113,7 +113,7 @@ gst_buffer_pool_get_default (guint buffer_size, guint pool_size)
|
|||
}
|
||||
|
||||
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)
|
||||
{
|
||||
GstBuffer *buffer;
|
||||
|
|
Loading…
Reference in a new issue