Add using_mmap field to GstFileSrc
authorDavid Schleef <ds@schleef.org>
Wed, 30 Jul 2003 01:41:23 +0000 (01:41 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 30 Jul 2003 01:41:23 +0000 (01:41 +0000)
Original commit message from CVS:
Add using_mmap field to GstFileSrc

gst/elements/gstfilesrc.h
plugins/elements/gstfilesrc.h

index 8065210..f1600c9 100644 (file)
@@ -66,6 +66,7 @@ struct _GstFileSrc {
   off_t curoffset;                     /* current offset in file*/
   off_t block_size;                    /* bytes per read */
   gboolean touch;                      /* whether to touch every page */
+  gboolean using_mmap;
 
   GstBuffer *mapbuf;
   size_t mapsize;
index 8065210..f1600c9 100644 (file)
@@ -66,6 +66,7 @@ struct _GstFileSrc {
   off_t curoffset;                     /* current offset in file*/
   off_t block_size;                    /* bytes per read */
   gboolean touch;                      /* whether to touch every page */
+  gboolean using_mmap;
 
   GstBuffer *mapbuf;
   size_t mapsize;