mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
eglglessink: fix warnings building on the RPI
This commit is contained in:
parent
5ba7f5effc
commit
9a88d737fc
1 changed files with 1 additions and 2 deletions
|
@ -712,12 +712,11 @@ static gboolean
|
||||||
gst_eglglessink_create_window (GstEglGlesSink * eglglessink, gint width,
|
gst_eglglessink_create_window (GstEglGlesSink * eglglessink, gint width,
|
||||||
gint height)
|
gint height)
|
||||||
{
|
{
|
||||||
EGLNativeWindowType window = 0;
|
|
||||||
gboolean window_created = FALSE;
|
gboolean window_created = FALSE;
|
||||||
|
|
||||||
if (!eglglessink->create_window) {
|
if (!eglglessink->create_window) {
|
||||||
GST_ERROR_OBJECT (eglglessink, "This sink can't create a window by itself");
|
GST_ERROR_OBJECT (eglglessink, "This sink can't create a window by itself");
|
||||||
return window;
|
return FALSE;
|
||||||
} else
|
} else
|
||||||
GST_INFO_OBJECT (eglglessink, "Attempting internal window creation");
|
GST_INFO_OBJECT (eglglessink, "Attempting internal window creation");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue