mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
fdsink: enable large file support in Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
This commit is contained in:
parent
85e7cfd811
commit
806b48f6ba
1 changed files with 9 additions and 0 deletions
|
@ -68,6 +68,15 @@
|
||||||
#define off_t guint64
|
#define off_t guint64
|
||||||
#endif
|
#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",
|
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
|
|
Loading…
Reference in a new issue