plugins/elements/gstfilesrc.*: Add "sequential" property, off by default, to use...
authorJan Schmidt <thaytan@mad.scientist.com>
Tue, 4 Jul 2006 09:01:51 +0000 (09:01 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Tue, 4 Jul 2006 09:01:51 +0000 (09:01 +0000)
commit16ac778f3187eec85a1da1ea289bbbf773b8e8a5
tree7b5fc52f6df55375717b7ebd6786e39097ea208c
parentb0275f1f5f3d2e95cb81e5e236010772ce7f22c3
plugins/elements/gstfilesrc.*: Add "sequential" property, off by default, to use madvise and hint to the kernel that ...

Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
(gst_file_src_init), (gst_file_src_set_property),
(gst_file_src_get_property), (gst_file_src_map_region):
* plugins/elements/gstfilesrc.h:
Add "sequential" property, off by default, to use madvise and hint
to the kernel that sequential access is desired.
Touch all retrieved pages by default to ensure they are pulled
into memory. (Closes #345720)
ChangeLog
plugins/elements/gstfilesrc.c
plugins/elements/gstfilesrc.h