gstreamer: add recipe for version 0.10.36

This commit is contained in:
Gerasim Troeglazov
2015-11-22 12:04:27 +00:00
parent 413efc7f72
commit e6182e9bda
2 changed files with 117 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
From e86926d83ecbed962c5b94b21ffd9eca9f15e7c9 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Mon, 2 Nov 2015 22:39:22 +0000
Subject: Fix buffer for filesrc coreelement
diff --git a/plugins/elements/gstfilesink.c b/plugins/elements/gstfilesink.c
index 9356c0f..ffd4479 100644
--- a/plugins/elements/gstfilesink.c
+++ b/plugins/elements/gstfilesink.c
@@ -398,7 +398,7 @@ gst_file_sink_open_file (GstFileSink * sink)
sink->buffer = g_malloc (sink->buffer_size);
buffer_size = sink->buffer_size;
}
-#ifdef HAVE_STDIO_EXT_H
+#if defined(HAVE_STDIO_EXT_H) && !defined(__HAIKU__)
GST_DEBUG_OBJECT (sink, "change buffer size %u to %u, mode %d",
(guint) __fbufsize (sink->file), buffer_size, mode);
#else
--
2.2.2