mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
eglglessink: fixes 'makes integer from pointer without a cast' warning
This commit is contained in:
parent
1190a79b19
commit
87f2bae822
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ gst_egl_adaptation_create_native_window (GstEglAdaptationContext * ctx,
|
||||||
EGLNativeWindowType window =
|
EGLNativeWindowType window =
|
||||||
platform_create_native_window (width, height, own_window_data);
|
platform_create_native_window (width, height, own_window_data);
|
||||||
if (window)
|
if (window)
|
||||||
gst_egl_adaptation_set_window (ctx, window);
|
gst_egl_adaptation_set_window (ctx, (guintptr) window);
|
||||||
GST_DEBUG_OBJECT (ctx->element, "Using window handle %p", (gpointer) window);
|
GST_DEBUG_OBJECT (ctx->element, "Using window handle %p", (gpointer) window);
|
||||||
return window != 0;
|
return window != 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue