plugins/elements/gstfilesrc.c: If not using mmap'ed files try to seek to the end...
authorJindrich Makovicka <jindrich.makovick@itonis.tv>
Thu, 25 Jan 2007 17:54:07 +0000 (17:54 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 25 Jan 2007 17:54:07 +0000 (17:54 +0000)
commit46848a3595a334f38291d65f0e9eaf7ce60da8cc
tree13d629a23c37614ccab7dcb62850f8e95f80080b
parent76e88f9d370f45dc975522caa244d39a4eabfcea
plugins/elements/gstfilesrc.c: If not using mmap'ed files try to seek to the end instead of the start to determine wh...

Original commit message from CVS:
Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
* plugins/elements/gstfilesrc.c: (gst_file_src_start):
If not using mmap'ed files try to seek to the end instead of the
start to determine whether we can seek at all. This fixes the case
of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
seeks for everything afterwards fail. Fixes #400656
ChangeLog
plugins/elements/gstfilesrc.c