vulkan: Fix some confusing typos

Seems to have been copy pasted from around gl element
This commit is contained in:
Yeongjin Jeong 2019-08-02 01:37:22 +09:00 committed by Matthew Waters
parent 8bc5144020
commit fdab54611b
2 changed files with 4 additions and 4 deletions

View file

@ -96,7 +96,7 @@ gst_vulkan_display_xcb_new (const gchar * name)
GstVulkanDisplayXCB *ret;
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);
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);
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);
gst_object_ref_sink (ret);

View file

@ -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,
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);
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 */
cookie = xcb_intern_atom (connection, 1, 12, "WM_PROTOCOLS");