plugins/elements/gstfilesrc.c: Do not use mmap() by default since there are a number...
authorTim-Philipp Müller <tim@centricular.net>
Thu, 27 Jul 2006 10:54:29 +0000 (10:54 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 27 Jul 2006 10:54:29 +0000 (10:54 +0000)
commit55a6159205e00a88f007a59017fa320871ca338a
treec96b6238916f21e1cab5e0135d3b9a627879e9cd
parent4c30bdfb0ec58ea036ed315d95e4d413ea41cc56
plugins/elements/gstfilesrc.c: Do not use mmap() by default since there are a number of error conditions that we woul...

Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
Do not use mmap() by default since there are a number of error
conditions that we would like to handle in a non-fatal way that
will result in a SIGBUS if we use mmap(). Examples: external
devices (USB harddrive, portable music player) being unplugged
while in use; file on mounted CD/DVD that can't be read because
the medium is partly damaged. Fixes #348455 and #348475.
ChangeLog
plugins/elements/gstfilesrc.c