[Bug 758980] filesrc/others: Add support for files larger than 2GB on Android and other platforms without _FILE_OFFSET_BITS=64 support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 8 02:23:04 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=758980

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #316918|none                        |needs-work
             status|                            |

--- Comment #7 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Comment on attachment 316918
  --> https://bugzilla.gnome.org/attachment.cgi?id=316918
filesink: enable largefile support on Android

Might make sense to move this up a few lines and make it a #elif
defined(__BIONIC__) case after the G_OS_WIN32 one

Otherwise, ftruncate() also needs to be changed to a 64 bit variant. Android
does not provide any API for that directly, so need to do a syscall yourself.
See e.g.
http://www.scs.stanford.edu/histar/src/pkg/uclibc/libc/sysdeps/linux/common/ftruncate64.c

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list