projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ba7f5e
)
eglglessink: fix warnings building on the RPI
author
Josep Torra
<n770galaxy@gmail.com>
Thu, 18 Apr 2013 10:27:28 +0000
(12:27 +0200)
committer
Josep Torra
<n770galaxy@gmail.com>
Thu, 18 Apr 2013 10:35:55 +0000
(12:35 +0200)
ext/eglgles/gsteglglessink.c
patch
|
blob
|
history
diff --git
a/ext/eglgles/gsteglglessink.c
b/ext/eglgles/gsteglglessink.c
index cdda6d62dc23281d6659977b31a1b8ea48e3b154..a202f90b32ab9e933e2ed4a635140f781fce05c2 100644
(file)
--- a/
ext/eglgles/gsteglglessink.c
+++ b/
ext/eglgles/gsteglglessink.c
@@
-712,12
+712,11
@@
static gboolean
gst_eglglessink_create_window (GstEglGlesSink * eglglessink, gint width,
gint height)
{
gst_eglglessink_create_window (GstEglGlesSink * eglglessink, gint width,
gint height)
{
- EGLNativeWindowType window = 0;
gboolean window_created = FALSE;
if (!eglglessink->create_window) {
GST_ERROR_OBJECT (eglglessink, "This sink can't create a window by itself");
gboolean window_created = FALSE;
if (!eglglessink->create_window) {
GST_ERROR_OBJECT (eglglessink, "This sink can't create a window by itself");
- return
window
;
+ return
FALSE
;
} else
GST_INFO_OBJECT (eglglessink, "Attempting internal window creation");
} else
GST_INFO_OBJECT (eglglessink, "Attempting internal window creation");