mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
gstreamer: add recipe for version 0.10.36
This commit is contained in:
22
media-libs/gstreamer/patches/gstreamer-0.10.36.patchset
Normal file
22
media-libs/gstreamer/patches/gstreamer-0.10.36.patchset
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user