Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-12-04 02:04:32 +0300
committerSebastian Dröge <sebastian@centricular.com>2015-12-10 11:03:55 +0300
commitef431cd1e56799c93c69bc3a953fa5c973a9b852 (patch)
treebc3bac0d6c3a0c0d98d536488359645a1ab2a6b7
parent4347718bf1b014ef72b971f7d56d34ea421c091b (diff)
filesink: enable large file support on Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
-rw-r--r--plugins/elements/gstfilesink.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/elements/gstfilesink.c b/plugins/elements/gstfilesink.c
index eb5c7687a4..b90d8a1b26 100644
--- a/plugins/elements/gstfilesink.c
+++ b/plugins/elements/gstfilesink.c
@@ -70,6 +70,13 @@
#include <unistd.h>
#endif
+#ifdef __BIONIC__ /* Android */
+#undef lseek
+#define lseek lseek64
+#undef off_t
+#define off_t guint64
+#endif
+
#include "gstelements_private.h"
#include "gstfilesink.h"