summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base
diff options
context:
space:
mode:
authorYuqing Zhu <b54851@freescale.com>2015-08-10 11:41:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-11 09:28:49 -0700
commit9d8a725a8cb42bf5eef5ad8c27c8a4777566f3fa (patch)
treea37dd980725752161da48c3a513e02c7587ba008 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base
parente9a3cfad288b79dd6036d7de7a4e21b8bb5c05ca (diff)
downloadpoky-9d8a725a8cb42bf5eef5ad8c27c8a4777566f3fa.tar.gz
gstreamer1.0-plugins-base: Need more buffers in output queue for better performance
(From OE-Core rev: 4b35871f0883ded624c6d5dd9bbf3365934c0e93) Signed-off-by: Yuqing Zhu <b54851@freescale.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
new file mode 100644
index 0000000000..325671721d
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
@@ -0,0 +1,32 @@
1From 540e02c92c75e08b90326863dc787fa5cadf9da6 Mon Sep 17 00:00:00 2001
2From: Song Bing <b06498@freescale.com>
3Date: Fri, 13 Mar 2015 18:04:31 +0800
4Subject: [PATCH] encodebin: Need more buffers in output queue for better
5 performance
6
7Need more buffers in output queue for better performance
8
9Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=744191]
10
11Signed-off-by: Song Bing <b06498@freescale.com>
12---
13 gst/encoding/gstencodebin.c | 3 +--
14 1 file changed, 1 insertion(+), 2 deletions(-)
15
16diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c
17index 6728e58..32daae4 100644
18--- a/gst/encoding/gstencodebin.c
19+++ b/gst/encoding/gstencodebin.c
20@@ -1138,8 +1138,7 @@ _create_stream_group (GstEncodeBin * ebin, GstEncodingProfile * sprof,
21 * We only use a 1buffer long queue here, the actual queueing will be done
22 * in the input queue */
23 last = sgroup->outqueue = gst_element_factory_make ("queue", NULL);
24- g_object_set (sgroup->outqueue, "max-size-buffers", (guint32) 1,
25- "max-size-bytes", (guint32) 0, "max-size-time", (guint64) 0,
26+ g_object_set (sgroup->outqueue, "max-size-time", (guint64) 0,
27 "silent", TRUE, NULL);
28
29 gst_bin_add (GST_BIN (ebin), sgroup->outqueue);
30--
311.7.9.5
32