summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2017-04-11 10:49:05 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-11 18:10:18 +0100
commit7252450159560f8ac943ea60b7a9d8b1d06ce4db (patch)
treece19340f61f9f328d6266328aa9800dd050cd460 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good
parenta9dfae4e2697ece5c58fd5c702f3c95979e2922f (diff)
downloadpoky-7252450159560f8ac943ea60b7a9d8b1d06ce4db.tar.gz
gstreamer1.0-plugins-good: Backport patch for v4l2object videometa
This patch ensures videometa is added to mem2mem decoder output in case the output frames have padding rows/columns (From OE-Core rev: ef94ffee8f11db57ecea398af76dc22576c2068a) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
new file mode 100644
index 0000000000..2a9a23e15d
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
@@ -0,0 +1,35 @@
1From 22be02612adc757f6a43cefc6ee65ecaef68f0d9 Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Thu, 23 Mar 2017 22:13:05 +0100
4Subject: [PATCH] v4l2object: Also add videometa if there is padding to the
5 right and bottom
6
7https://bugzilla.gnome.org/show_bug.cgi?id=780478
8
9Upstream-Status: Backport [1.10.5]
10
11Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
12---
13 sys/v4l2/gstv4l2object.c | 5 +++--
14 1 file changed, 3 insertions(+), 2 deletions(-)
15
16diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
17index 91c8ff0..ed4654e 100644
18--- a/sys/v4l2/gstv4l2object.c
19+++ b/sys/v4l2/gstv4l2object.c
20@@ -3070,9 +3070,10 @@ store_info:
21 GST_DEBUG_OBJECT (v4l2object->element, "Got sizeimage %" G_GSIZE_FORMAT,
22 info->size);
23
24- /* to avoid copies we need video meta if top or left padding */
25+ /* to avoid copies we need video meta if there is padding */
26 v4l2object->need_video_meta =
27- ((align->padding_top + align->padding_left) != 0);
28+ ((align->padding_top + align->padding_left + align->padding_right +
29+ align->padding_bottom) != 0);
30
31 /* ... or if stride is non "standard" */
32 if (!standard_stride)
33--
342.7.4
35