summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2015-11-05 09:32:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:39:35 +0000
commit4a55d12f640410fae25fec76ddf037c208abdaf9 (patch)
treef921431447ce14184357354f248832526c272e84 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch
parent8360f23bca2c3e95493ac706ec343479dd3b08dc (diff)
downloadpoky-4a55d12f640410fae25fec76ddf037c208abdaf9.tar.gz
gstreamer1.0-plugins-base: upgrade to version 1.6.1
A number of patches had to be deleted in order for the recipe to work. Patches which cannot be applied cleanly to 1.6.1 and are nontrivial to fix: * 0001-basetextoverlay-make-memory-copy-when-video-buffer-s.patch * handle-audio-video-decoder-error.patch * taglist-not-send-to-down-stream-if-all-the-frame-cor.patch Patches which were rejected by upstream: * 0002-gstplaysink-don-t-set-async-of-custom-text-sink-to-f.patch Patches which either were backports or accepted and integrated: * 0001-video-frame-Don-t-ref-buffers-twice-when-mapping.patch * 0002-video-frame-Add-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch * 0003-videofilter-Use-new-GST_VIDEO_FRAME_MAP_FLAG_NO_REF.patch * do-not-change-eos-event-to-gap-event2.patch * do-not-change-eos-event-to-gap-event3.patch * do-not-change-eos-event-to-gap-event-if.patch * fix-id3demux-utf16-to-utf8-issue.patch * videobuffer_updata_alignment_update.patch * videoencoder-Keep-sticky-events-around-when-doing-a-soft-.patch (From OE-Core rev: f22fd450babf8c515f86334958f8ca2e0af6f19c) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch')
-rwxr-xr-xmeta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch
deleted file mode 100755
index 8cfda955a7..0000000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/videobuffer_updata_alignment_update.patch
+++ /dev/null
@@ -1,53 +0,0 @@
1commit 88d253ea23b06289df40401160b606323f16c910
2Author: Song Bing <b06498@freescale.com>
3Date: Mon Dec 15 09:34:35 2014 +0800
4
5videopool: update video alignment after video alignment
6
7Video buffer pool will update video alignment to respect stride alignment
8requirement. But haven't update it to video alignment in configure.
9Which will cause user get wrong video alignment.
10
11https://bugzilla.gnome.org/show_bug.cgi?id=741501
12
13Upstream-Status: Backport [1.5.1]
14
15Signed-off-by: Song Bing <b06498@freescale.com>
16diff --git a/gst-libs/gst/video/gstvideopool.c b/gst-libs/gst/video/gstvideopool.c
17index 4475f45..acef594 100644
18--- a/gst-libs/gst/video/gstvideopool.c
19+++ b/gst-libs/gst/video/gstvideopool.c
20@@ -167,6 +167,7 @@ video_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
21 /* get an apply the alignment to the info */
22 gst_buffer_pool_config_get_video_alignment (config, &priv->video_align);
23 gst_video_info_align (&info, &priv->video_align);
24+ gst_buffer_pool_config_set_video_alignment (config, &priv->video_align);
25 }
26 priv->info = info;
27
28diff --git a/sys/ximage/ximagepool.c b/sys/ximage/ximagepool.c
29index 6cc2cfa..6a1cbc9 100644
30--- a/sys/ximage/ximagepool.c
31+++ b/sys/ximage/ximagepool.c
32@@ -597,6 +597,8 @@ ximage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
33 /* do padding and alignment */
34 gst_video_info_align (&info, &priv->align);
35
36+ gst_buffer_pool_config_set_video_alignment (config, &priv->align);
37+
38 /* we need the video metadata too now */
39 priv->add_metavideo = TRUE;
40 } else {
41diff --git a/sys/xvimage/xvimagepool.c b/sys/xvimage/xvimagepool.c
42index 244a51a..34b1ab2 100644
43--- a/sys/xvimage/xvimagepool.c
44+++ b/sys/xvimage/xvimagepool.c
45@@ -124,6 +124,8 @@ xvimage_buffer_pool_set_config (GstBufferPool * pool, GstStructure * config)
46 /* do padding and alignment */
47 gst_video_info_align (&info, &priv->align);
48
49+ gst_buffer_pool_config_set_video_alignment (config, &priv->align);
50+
51 /* we need the video metadata too now */
52 priv->add_metavideo = TRUE;
53 } else {