mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
fdsink: enable large file support in Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
This commit is contained in:
parent
6a4d0f27a7
commit
ef9a101727
1 changed files with 9 additions and 0 deletions
|
@ -68,6 +68,15 @@
|
|||
#define off_t guint64
|
||||
#endif
|
||||
|
||||
#ifdef __BIONIC__ /* Android */
|
||||
#undef lseek
|
||||
#define lseek lseek64
|
||||
#undef fstat
|
||||
#define fstat fstat64
|
||||
#undef off_t
|
||||
#define off_t guint64
|
||||
#endif
|
||||
|
||||
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
GST_PAD_ALWAYS,
|
||||
|
|
Loading…
Reference in a new issue