[Bug 760972] New: glwindow: Fix android build

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 21 23:54:15 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=760972

            Bug ID: 760972
           Summary: glwindow: Fix android build
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: hk at getslash.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 319540
  --> https://bugzilla.gnome.org/attachment.cgi?id=319540&action=edit
glwindow: Fix android build

gstglwindow_android_egl.c: In function 'draw_cb':
gstglwindow_android_egl.c:112:9: error: pointer targets in passing argument 2
of 'gst_gl_window_get_surface_dimensions' differ in signedness
[-Werror=pointer-sign]
         &window_height);
         ^
In file included from ../../../../gst-libs/gst/gl/gl.h:38:0,
                 from ../../../../gst-libs/gst/gl/egl/gstglcontext_egl.h:25,
                 from gstglwindow_android_egl.c:33:
../../../../gst-libs/gst/gl/gstglwindow.h:205:10: note: expected 'guint *' but
argument is of type 'gint *'
 void     gst_gl_window_get_surface_dimensions (GstGLWindow * window,
          ^
gstglwindow_android_egl.c:112:9: error: pointer targets in passing argument 3
of 'gst_gl_window_get_surface_dimensions' differ in signedness
[-Werror=pointer-sign]
         &window_height);
         ^
In file included from ../../../../gst-libs/gst/gl/gl.h:38:0,
                 from ../../../../gst-libs/gst/gl/egl/gstglcontext_egl.h:25,
                 from gstglwindow_android_egl.c:33:
../../../../gst-libs/gst/gl/gstglwindow.h:205:10: note: expected 'guint *' but
argument is of type 'gint *'
 void     gst_gl_window_get_surface_dimensions (GstGLWindow * window,
          ^
cc1: all warnings being treated as errors
Makefile:886: recipe for target
'libgstgl_android_la-gstglwindow_android_egl.lo' failed
make[1]: *** [libgstgl_android_la-gstglwindow_android_egl.lo] Error 1
make[1]: Leaving directory
'/mnt/ltmp/cerbero/sources/android_armv7/gst-plugins-bad-1.0-static-1.7/gst-libs/gst/gl/android'
Makefile:1395: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list