mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
23 lines
817 B
Plaintext
23 lines
817 B
Plaintext
From 749a0d494d6b86fbf206d2625f4d2d358c94e628 Mon Sep 17 00:00:00 2001
|
|
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
|
Date: Fri, 26 May 2017 23:18:59 +1000
|
|
Subject: Fix buffer for filesrc coreelement
|
|
|
|
|
|
diff --git a/plugins/elements/gstfilesink.c b/plugins/elements/gstfilesink.c
|
|
index 4ce527e..87a010b 100644
|
|
--- a/plugins/elements/gstfilesink.c
|
|
+++ b/plugins/elements/gstfilesink.c
|
|
@@ -402,7 +402,7 @@ gst_file_sink_open_file (GstFileSink * sink)
|
|
buffer_size = sink->buffer_size;
|
|
}
|
|
/* Cygwin does not have __fbufsize */
|
|
-#if defined(HAVE_STDIO_EXT_H) && !defined(__CYGWIN__)
|
|
+#if defined(HAVE_STDIO_EXT_H) && !defined(__CYGWIN__) && !defined(__HAIKU__)
|
|
GST_DEBUG_OBJECT (sink, "change buffer size %u to %u, mode %d",
|
|
(guint) __fbufsize (sink->file), buffer_size, mode);
|
|
#else
|
|
--
|
|
2.7.0
|
|
|