Hi maintainers,
I'm getting the following error when building on walnascar:
builder@0214696177e3:/work/.../gst-plugins-bad-1.24.12$ quilt push -f
Applying patch patches/0020-waylandsink-Support-NV12_10LE40-NV16_10LE40-and-NV12.patch
patching file ext/gtk/gstgtkwaylandsink.c
patching file ext/wayland/gstwaylandsink.c
patching file gst-libs/gst/wayland/gstwldisplay.c
Hunk #3 FAILED at 205.
Hunk #5 succeeded at 220 with fuzz 2.
Hunk #6 succeeded at 238 (offset 1 line).
Hunk #7 succeeded at 279 (offset 1 line).
1 out of 7 hunks FAILED -- saving rejects to file gst-libs/gst/wayland/gstwldisplay.c.rej
patching file gst-libs/gst/wayland/gstwldisplay.h
patching file gst-libs/gst/wayland/gstwllinuxdmabuf.c
patching file gst-libs/gst/wayland/gstwlvideobufferpool.c
patching file gst-libs/gst/wayland/gstwlvideoformat.c
patching file gst-libs/gst/wayland/gstwlvideoformat.h
patching file gst-libs/gst/wayland/gstwlwindow.c
patching file gst-libs/gst/wayland/gstwlwindow.h
Applied patch patches/0020-waylandsink-Support-NV12_10LE40-NV16_10LE40-and-NV12.patch (forced; needs refresh)
builder@0214696177e3:/work/.../gst-plugins-bad-1.24.12$ cat gst-libs/gst/wayland/gstwldisplay.c.rej
--- gst-libs/gst/wayland/gstwldisplay.c
+++ gst-libs/gst/wayland/gstwldisplay.c
@@ -205,6 +206,8 @@ dmabuf_modifier (void *data, struct zwp_linux_dmabuf_v1 *zwp_linux_dmabuf,
{
GstWlDisplay *self = data;
guint64 modifier = (guint64) modifier_hi << 32 | modifier_lo;
+
+#if 0 // HACK: Allow all formats
static gboolean table_header = TRUE;
GstWlDisplayPrivate *priv = gst_wl_display_get_instance_private (self);
From the online GStreamer v1.24.12 source there doesn't seem to be table_header line:
static void
dmabuf_modifier (void *data, struct zwp_linux_dmabuf_v1 *zwp_linux_dmabuf,
uint32_t format, uint32_t modifier_hi, uint32_t modifier_lo)
{
GstWlDisplay *self = data;
guint64 modifier = (guint64) modifier_hi << 32 | modifier_lo;
static uint32_t last_format = 0;
...
but GStreamer v1.24.11 does have it:
static void
dmabuf_modifier (void *data, struct zwp_linux_dmabuf_v1 *zwp_linux_dmabuf,
uint32_t format, uint32_t modifier_hi, uint32_t modifier_lo)
{
GstWlDisplay *self = data;
guint64 modifier = (guint64) modifier_hi << 32 | modifier_lo;
static gboolean table_header = TRUE;
The gstreamer1.0-plugins-bad_1.24.12 patchdir seems to be a symlink to gstreamer1.0-plugins-bad_1.24.11 but maybe it should be rebased?
Let me know if I'm missing something, thanks!
edit: after manually refreshing the particular patch I get the following:
| ../gst-plugins-bad-1.24.12/gst-libs/gst/wayland/gstwllinuxdmabuf.c: In function 'gst_wl_linux_dmabuf_construct_wl_buffer':
| ../gst-plugins-bad-1.24.12/gst-libs/gst/wayland/gstwllinuxdmabuf.c:74:11: error: passing argument 2 of 'gst_wl_display_check_format_for_dmabuf' makes integer from pointer without a cast [-Wint-conversion]
| 74 | drm_info), NULL);
| | ^~~~~~~~
| | |
| | const GstVideoInfoDmaDrm * {aka const struct _GstVideoInfoDmaDrm *}
Hi maintainers,
I'm getting the following error when building on
walnascar:From the online GStreamer v1.24.12 source there doesn't seem to be
table_headerline:but GStreamer v1.24.11 does have it:
The
gstreamer1.0-plugins-bad_1.24.12patchdir seems to be a symlink togstreamer1.0-plugins-bad_1.24.11but maybe it should be rebased?Let me know if I'm missing something, thanks!
edit: after manually refreshing the particular patch I get the following: