Various fixes for unseekable, unmmapable, and non-normal files, so that fallback...
authorMichael Smith <msmith@xiph.org>
Thu, 8 Sep 2005 17:23:57 +0000 (17:23 +0000)
committerMichael Smith <msmith@xiph.org>
Thu, 8 Sep 2005 17:23:57 +0000 (17:23 +0000)
commit4e78d6183f4d817c7a7fe4ae286000848cb25b2c
treec2c771fcaa714441b78c5f23abc7e320e1a68a27
parent686a044c4f2ea79c9e86edb037fc0acf1bb71abb
Various fixes for unseekable, unmmapable, and non-normal files, so that fallback to read() rather than mmap() works.

Original commit message from CVS:
Various fixes for unseekable, unmmapable, and non-normal files, so that
fallback to read() rather than mmap() works.

Allow newsegment events with start == end, so that cases where that's
correct work (e.g. filesrc on a zero-size file).
ChangeLog
gst/elements/gstfilesrc.c
gst/elements/gstfilesrc.h
gst/gstevent.c
plugins/elements/gstfilesrc.c
plugins/elements/gstfilesrc.h