From c87e1a1c4f4614e1f0c2fd4bf72df107793e9fec Mon Sep 17 00:00:00 2001 From: Yuqing Zhu Date: Fri, 2 Jun 2017 13:31:36 +0800 Subject: gstreamer1.0-plugins-base: Don't set async of custom text-sink to false in gstplaysink Setting async to false will cause A/V sync problem when seeking. The preroll needs to use GAP event instead of setting async to false. Signed-off-by: Yuqing Zhu Signed-off-by: Otavio Salvador --- ...-don-t-set-async-of-custom-text-sink-to-f.patch | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-base') 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 000000000..398c4913a --- /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 @@ +From 7847d85e7f37a4a40e483f3b3095c7f8a9fdf5ee Mon Sep 17 00:00:00 2001 +From: Mingke Wang +Date: Thu, 19 Mar 2015 14:15:25 +0800 +Subject: [PATCH 02/13] gstplaysink: don't set async of custom text-sink to + false + +Setting async to false leads to A/V sync problem when seeking. +The preroll need to use GAP event instead of set async to false. + +Upstream-Status: Inappropriate [i.MX specific] + +Signed-off-by: Mingke Wang +--- + gst/playback/gstplaysink.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + mode change 100644 => 100755 gst/playback/gstplaysink.c + +diff --git a/gst/playback/gstplaysink.c b/gst/playback/gstplaysink.c +old mode 100644 +new mode 100755 +index eaac018..02d019e +--- a/gst/playback/gstplaysink.c ++++ b/gst/playback/gstplaysink.c +@@ -2430,7 +2430,7 @@ gen_text_chain (GstPlaySink * playsink) + G_TYPE_BOOLEAN); + if (elem) { + /* make sure the sparse subtitles don't participate in the preroll */ +- g_object_set (elem, "async", FALSE, NULL); ++ //g_object_set (elem, "async", FALSE, NULL); + GST_DEBUG_OBJECT (playsink, "adding custom text sink"); + gst_bin_add (bin, chain->sink); + /* NOTE streamsynchronizer needs streams decoupled */ +-- +1.9.1 + -- cgit v1.2.3-54-g00ecf