summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch
new file mode 100644
index 0000000000..39c146aade
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch
@@ -0,0 +1,31 @@
1From 0a78555ea6c8c2f1ee27ee4707e8d7aa00ab7a66 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 2/4] gstplaysink: don't set async of custom text-sink to
5 false
6
7set async to false lead to A/V sync problem when seeking.
8the preroll need use GAP event instead of set async to false.
9
10Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=747499]
11
12Signed-off-by: Mingke Wang <mingke.wang@freescale.com>
13
14diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c
15old mode 100644
16new mode 100755
17index f5a2d42..fba0172
18--- a/gst/playback/gstplaysink.c
19+++ b/gst/playback/gstplaysink.c
20@@ -2408,7 +2408,7 @@ gen_text_chain (GstPlaySink * playsink)
21 G_TYPE_BOOLEAN);
22 if (elem) {
23 /* make sure the sparse subtitles don't participate in the preroll */
24- g_object_set (elem, "async", FALSE, NULL);
25+ //g_object_set (elem, "async", FALSE, NULL);
26 GST_DEBUG_OBJECT (playsink, "adding custom text sink");
27 gst_bin_add (bin, chain->sink);
28 /* NOTE streamsynchronizer needs streams decoupled */
29--
301.7.9.5
31