Fix wayland display context field name.
Fixed upstream.
Change-Id: I856ac3816b712a13adb39c86dd3e82dce997df55
diff --git a/gst-libs/gst/wayland/wayland.c b/gst-libs/gst/wayland/wayland.c
index 6e7fefa..0c85cfd 100644
--- a/gst-libs/gst/wayland/wayland.c
+++ b/gst-libs/gst/wayland/wayland.c
@@ -46,7 +46,7 @@
GstContext *context =
gst_context_new (GST_WAYLAND_DISPLAY_HANDLE_CONTEXT_TYPE, TRUE);
gst_structure_set (gst_context_writable_structure (context),
- "handle", G_TYPE_POINTER, display, NULL);
+ "display", G_TYPE_POINTER, display, NULL);
return context;
}
@@ -59,7 +59,7 @@
g_return_val_if_fail (GST_IS_CONTEXT (context), NULL);
s = gst_context_get_structure (context);
- gst_structure_get (s, "handle", G_TYPE_POINTER, &display, NULL);
+ gst_structure_get (s, "display", G_TYPE_POINTER, &display, NULL);
return display;
}