summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst_private.h-increse-padding-in-struct-_GstClockEnt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst_private.h-increse-padding-in-struct-_GstClockEnt.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst_private.h-increse-padding-in-struct-_GstClockEnt.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst_private.h-increse-padding-in-struct-_GstClockEnt.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst_private.h-increse-padding-in-struct-_GstClockEnt.patch
deleted file mode 100644
index a2d215d72d..0000000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst_private.h-increse-padding-in-struct-_GstClockEnt.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 4449246a8d788e71dfe4679fba95955cec5894c1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 3 Nov 2020 22:58:26 -0800
4Subject: [PATCH] gst_private.h: increse padding in struct _GstClockEntryImpl
5
6When compiling for 32bit architectures with 64bit time_t e.g. riscv32,
7the static assert that the GstClockEntryImpl smaller or
8equal to the struct _GstClockEntryImpl triggered.
9(they were 12bytes off).
10
11To fix this, the padding is increased by 8 bytes (on 32bit).
12
13Upstream-Status: Submitted [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/694]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 gst/gst_private.h | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/gst/gst_private.h b/gst/gst_private.h
20index a8897e1..8252ede 100644
21--- a/gst/gst_private.h
22+++ b/gst/gst_private.h
23@@ -522,7 +522,7 @@ struct _GstClockEntryImpl
24 GstClockEntry entry;
25 GWeakRef clock;
26 GDestroyNotify destroy_entry;
27- gpointer padding[19]; /* padding for allowing e.g. systemclock
28+ gpointer padding[21]; /* padding for allowing e.g. systemclock
29 * to add data in lieu of overridable
30 * virtual functions on the clock */
31 };
32--
332.29.2
34