diff options
author | Yuqing Zhu <b54851@freescale.com> | 2015-08-10 11:41:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-11 09:28:49 -0700 |
commit | 41792fed672b47f89bef36a57c4c6a18c04cfe0c (patch) | |
tree | 5f03903e717941cd256d8f5d78e579efa79ff7d9 /meta/recipes-multimedia | |
parent | 48cfaec04fe18bb40387526f237e8fd595bf0b4e (diff) | |
download | poky-41792fed672b47f89bef36a57c4c6a18c04cfe0c.tar.gz |
gstreamer1.0-plugins-base: Don't set async of custom text-sink to false
Setting async to false will lead A/V sync problem when seeking.
The preroll need to use GAP event instead of setting async to false.
(From OE-Core rev: c3ed0c2162dcdbb1aced57aed33e2791b81db558)
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')
2 files changed, 32 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 @@ | |||
1 | From 0a78555ea6c8c2f1ee27ee4707e8d7aa00ab7a66 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mingke Wang <mingke.wang@freescale.com> | ||
3 | Date: Thu, 19 Mar 2015 14:15:25 +0800 | ||
4 | Subject: [PATCH 2/4] gstplaysink: don't set async of custom text-sink to | ||
5 | false | ||
6 | |||
7 | set async to false lead to A/V sync problem when seeking. | ||
8 | the preroll need use GAP event instead of set async to false. | ||
9 | |||
10 | Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=747499] | ||
11 | |||
12 | Signed-off-by: Mingke Wang <mingke.wang@freescale.com> | ||
13 | |||
14 | diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c | ||
15 | old mode 100644 | ||
16 | new mode 100755 | ||
17 | index 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 | -- | ||
30 | 1.7.9.5 | ||
31 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb index 7aba40d504..8d926f3216 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.4.5.bb | |||
@@ -18,6 +18,7 @@ SRC_URI += "file://do-not-change-eos-event-to-gap-event-if.patch \ | |||
18 | file://do-not-change-eos-event-to-gap-event2.patch \ | 18 | file://do-not-change-eos-event-to-gap-event2.patch \ |
19 | file://do-not-change-eos-event-to-gap-event3.patch \ | 19 | file://do-not-change-eos-event-to-gap-event3.patch \ |
20 | file://0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch \ | 20 | file://0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch \ |
21 | file://0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch \ | ||
21 | " | 22 | " |
22 | 23 | ||
23 | SRC_URI[md5sum] = "357165af625c0ca353ab47c5d843920e" | 24 | SRC_URI[md5sum] = "357165af625c0ca353ab47c5d843920e" |