mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
gstreamer: Add recipe for 1.12.0 version.
This commit is contained in:
22
media-libs/gstreamer/patches/gstreamer-1.12.0.patchset
Normal file
22
media-libs/gstreamer/patches/gstreamer-1.12.0.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user