mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
vulkan: Fix some confusing typos
Seems to have been copy pasted from around gl element
This commit is contained in:
parent
8bc5144020
commit
fdab54611b
2 changed files with 4 additions and 4 deletions
|
@ -96,7 +96,7 @@ gst_vulkan_display_xcb_new (const gchar * name)
|
||||||
GstVulkanDisplayXCB *ret;
|
GstVulkanDisplayXCB *ret;
|
||||||
int screen_no = 0;
|
int screen_no = 0;
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_GET (gst_vulkan_display_debug, "gldisplay");
|
GST_DEBUG_CATEGORY_GET (gst_vulkan_display_debug, "vulkandisplay");
|
||||||
|
|
||||||
connection = xcb_connect (NULL, &screen_no);
|
connection = xcb_connect (NULL, &screen_no);
|
||||||
if (connection == NULL || xcb_connection_has_error (connection)) {
|
if (connection == NULL || xcb_connection_has_error (connection)) {
|
||||||
|
@ -129,7 +129,7 @@ gst_vulkan_display_xcb_new_with_connection (xcb_connection_t * connection,
|
||||||
|
|
||||||
g_return_val_if_fail (connection != NULL, NULL);
|
g_return_val_if_fail (connection != NULL, NULL);
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_GET (gst_vulkan_display_debug, "gldisplay");
|
GST_DEBUG_CATEGORY_GET (gst_vulkan_display_debug, "vulkandisplay");
|
||||||
|
|
||||||
ret = g_object_new (GST_TYPE_VULKAN_DISPLAY_XCB, NULL);
|
ret = g_object_new (GST_TYPE_VULKAN_DISPLAY_XCB, NULL);
|
||||||
gst_object_ref_sink (ret);
|
gst_object_ref_sink (ret);
|
||||||
|
|
|
@ -185,9 +185,9 @@ gst_vulkan_window_xcb_create_window (GstVulkanWindowXCB * window_xcb)
|
||||||
root_window, x, y, width, height, 0, XCB_WINDOW_CLASS_INPUT_OUTPUT,
|
root_window, x, y, width, height, 0, XCB_WINDOW_CLASS_INPUT_OUTPUT,
|
||||||
screen->root_visual, value_mask, value_list);
|
screen->root_visual, value_mask, value_list);
|
||||||
|
|
||||||
GST_LOG_OBJECT (window_xcb, "gl window id: %p",
|
GST_LOG_OBJECT (window_xcb, "vulkan window id: %p",
|
||||||
(gpointer) (guintptr) window_xcb->win_id);
|
(gpointer) (guintptr) window_xcb->win_id);
|
||||||
GST_LOG_OBJECT (window_xcb, "gl window props: x:%d y:%d", x, y);
|
GST_LOG_OBJECT (window_xcb, "vulkan window props: x:%d y:%d", x, y);
|
||||||
|
|
||||||
/* Magic code that will send notification when window is destroyed */
|
/* Magic code that will send notification when window is destroyed */
|
||||||
cookie = xcb_intern_atom (connection, 1, 12, "WM_PROTOCOLS");
|
cookie = xcb_intern_atom (connection, 1, 12, "WM_PROTOCOLS");
|
||||||
|
|
Loading…
Reference in a new issue