- offset is supposed to be a uint64
authorWim Taymans <wim.taymans@gmail.com>
Sat, 21 Dec 2002 14:28:42 +0000 (14:28 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 21 Dec 2002 14:28:42 +0000 (14:28 +0000)
Original commit message from CVS:
- offset is supposed to be a uint64

gst/gstbuffer.c
gst/gstbuffer.h
gst/gstbufferpool-default.c

index af5e9c0..b9e8069 100644 (file)
@@ -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;
   
index 3502617..58660a2 100644 (file)
@@ -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 {                                                 \
index 7a07c87..f9caa13 100644 (file)
@@ -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;