summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorYuqing Zhu <b54851@freescale.com>2015-09-17 22:42:18 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 09:52:53 +0100
commit39c11d8296417299c2a70606f5db73e7776d17c6 (patch)
tree9ea80666b342bc63a746d7291f6e20dd4569b825 /meta/recipes-multimedia
parent5f137933c05646dee685d7846cba875ae74064cd (diff)
downloadpoky-39c11d8296417299c2a70606f5db73e7776d17c6.tar.gz
gstreamer1.0: Fix basesink drop buffer error
Basesink: Shouldn't drop buffer when sync=false (From OE-Core rev: de51069343b86b63d4c8f668b59c404f29c88812) 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')
-rwxr-xr-xmeta/recipes-multimedia/gstreamer/gstreamer1.0/0003-basesink-Shouldn-t-drop-buffer-when-sync-false.patch30
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0_1.4.5.bb1
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-basesink-Shouldn-t-drop-buffer-when-sync-false.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-basesink-Shouldn-t-drop-buffer-when-sync-false.patch
new file mode 100755
index 0000000000..d682ee60c4
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-basesink-Shouldn-t-drop-buffer-when-sync-false.patch
@@ -0,0 +1,30 @@
1From 73df2b5c0aea58015788f5a94a3ec65296a688d3 Mon Sep 17 00:00:00 2001
2From: Song Bing <b06498@freescale.com>
3Date: Thu, 2 Jul 2015 14:32:21 +0800
4Subject: [PATCH] basesink: Shouldn't drop buffer when sync=false
5
6Shouldn't drop buffer when sync=false
7
8Upstream-Status: Accepted
9
10https://bugzilla.gnome.org/show_bug.cgi?id=751819
11---
12 libs/gst/base/gstbasesink.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c
16index d44e8fc..cd759ac 100644
17--- a/libs/gst/base/gstbasesink.c
18+++ b/libs/gst/base/gstbasesink.c
19@@ -3423,7 +3423,7 @@ gst_base_sink_chain_unlocked (GstBaseSink * basesink, GstPad * pad,
20 if (G_UNLIKELY (stepped))
21 goto dropped;
22
23- if (syncable && do_sync) {
24+ if (syncable && do_sync && gst_base_sink_get_sync (basesink)) {
25 GstClock *clock;
26
27 GST_OBJECT_LOCK (basesink);
28--
291.7.9.5
30
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.4.5.bb
index db58754a68..73a4a9927a 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.4.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.4.5.bb
@@ -9,6 +9,7 @@ SRC_URI = " \
9 file://0001-gstinfo-Shorten-__FILE__-on-all-platforms.patch \ 9 file://0001-gstinfo-Shorten-__FILE__-on-all-platforms.patch \
10 file://inputselector-sticky-events-haven-t-send-out-when-ac-1-4-1.patch \ 10 file://inputselector-sticky-events-haven-t-send-out-when-ac-1-4-1.patch \
11 file://0002-basesink-Fix-QoS-lateness-checking-if-subclass-imple.patch \ 11 file://0002-basesink-Fix-QoS-lateness-checking-if-subclass-imple.patch \
12 file://0003-basesink-Shouldn-t-drop-buffer-when-sync-false.patch \
12" 13"
13SRC_URI[md5sum] = "88a9289c64a4950ebb4f544980234289" 14SRC_URI[md5sum] = "88a9289c64a4950ebb4f544980234289"
14SRC_URI[sha256sum] = "40801aa7f979024526258a0e94707ba42b8ab6f7d2206e56adbc4433155cb0ae" 15SRC_URI[sha256sum] = "40801aa7f979024526258a0e94707ba42b8ab6f7d2206e56adbc4433155cb0ae"