summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch
new file mode 100644
index 00000000..398c4913
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch
@@ -0,0 +1,35 @@
1From 7847d85e7f37a4a40e483f3b3095c7f8a9fdf5ee Mon Sep 17 00:00:00 2001
2From: Mingke Wang <mingke.wang@freescale.com>
3Date: Thu, 19 Mar 2015 14:15:25 +0800
4Subject: [PATCH 02/13] gstplaysink: don't set async of custom text-sink to
5 false
6
7Setting async to false leads to A/V sync problem when seeking.
8The preroll need to use GAP event instead of set async to false.
9
10Upstream-Status: Inappropriate [i.MX specific]
11
12Signed-off-by: Mingke Wang <mingke.wang@freescale.com>
13---
14 gst/playback/gstplaysink.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16 mode change 100644 => 100755 gst/playback/gstplaysink.c
17
18diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c
19old mode 100644
20new mode 100755
21index eaac018..02d019e
22--- a/gst/playback/gstplaysink.c
23+++ b/gst/playback/gstplaysink.c
24@@ -2430,7 +2430,7 @@ gen_text_chain (GstPlaySink * playsink)
25 G_TYPE_BOOLEAN);
26 if (elem) {
27 /* make sure the sparse subtitles don't participate in the preroll */
28- g_object_set (elem, "async", FALSE, NULL);
29+ //g_object_set (elem, "async", FALSE, NULL);
30 GST_DEBUG_OBJECT (playsink, "adding custom text sink");
31 gst_bin_add (bin, chain->sink);
32 /* NOTE streamsynchronizer needs streams decoupled */
33--
341.9.1
35