summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorWang Zidan <b50113@freescale.com>2014-07-22 14:49:22 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-23 21:59:14 +0100
commit8040b2df22a1a9ad010462c099d5252b96ab3071 (patch)
treea3a131cd7392e26407dae959e4c8d7d78ec58a78 /meta/recipes-multimedia
parentdcd0deba57faf981a07615bc7708b4b9c53e24d9 (diff)
downloadpoky-8040b2df22a1a9ad010462c099d5252b96ab3071.tar.gz
gstreamer1.0: pass rate of input segment to output segment in gstbaseparse.
(From OE-Core rev: e25c5b228178f13b2f9e25b5bd423d5ef7b40765) Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-pass-rate-of-input-segment-to-output-segment.patch32
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0_1.2.4.bb4
2 files changed, 35 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-pass-rate-of-input-segment-to-output-segment.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-pass-rate-of-input-segment-to-output-segment.patch
new file mode 100644
index 0000000000..be6c834df2
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-pass-rate-of-input-segment-to-output-segment.patch
@@ -0,0 +1,32 @@
1From e70334442ba3bb046a6389bb3d8549323dc1e7f0 Mon Sep 17 00:00:00 2001
2From: zhouming <zmafox@gmail.com>
3Date: Wed, 7 May 2014 18:26:38 +0800
4Subject: [PATCH] pass rate of input segment to output segment.
5
6https://bugzilla.gnome.org/show_bug.cgi?id=729701
7
8Commit - 2793f808ee7fbebc7de2c7b733c6e94dac6a099f in master branch
9
10Upstream Status: Backported
11
12Signed-off-by: <zmafox@gmail.com>
13---
14 libs/gst/base/gstbaseparse.c | 2 ++
15 1 file changed, 2 insertions(+)
16
17diff --git a/libs/gst/base/gstbaseparse.c b/libs/gst/base/gstbaseparse.c
18index 4378cad..7579b5e 100644
19--- a/libs/gst/base/gstbaseparse.c
20+++ b/libs/gst/base/gstbaseparse.c
21@@ -1012,6 +1012,8 @@ gst_base_parse_sink_event_default (GstBaseParse * parse, GstEvent * event)
22
23 gst_event_parse_segment (event, &in_segment);
24 gst_segment_init (&out_segment, GST_FORMAT_TIME);
25+ out_segment.rate = in_segment->rate;
26+ out_segment.applied_rate = in_segment->applied_rate;
27
28 GST_DEBUG_OBJECT (parse, "segment %" GST_SEGMENT_FORMAT, in_segment);
29
30--
311.7.9.5
32
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.2.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.2.4.bb
index 1204dd5fa3..535b681bb3 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.2.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.2.4.bb
@@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
6SRC_URI = " \ 6SRC_URI = " \
7 http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ 7 http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \
8 file://0001-Fix-crash-with-gst-inspect.patch \ 8 file://0001-Fix-crash-with-gst-inspect.patch \
9 " 9 file://0001-pass-rate-of-input-segment-to-output-segment.patch \
10"
11
10SRC_URI[md5sum] = "74d8f674187a5f0ddf38da594c3998c3" 12SRC_URI[md5sum] = "74d8f674187a5f0ddf38da594c3998c3"
11SRC_URI[sha256sum] = "1e7ca67a7870a82c9ed51d51d0008cdbc550c41d64cc3ff3f9a1c2fc311b4929" 13SRC_URI[sha256sum] = "1e7ca67a7870a82c9ed51d51d0008cdbc550c41d64cc3ff3f9a1c2fc311b4929"
12S = "${WORKDIR}/gstreamer-${PV}" 14S = "${WORKDIR}/gstreamer-${PV}"