[Bug 723537] New: [patch] gl x11 - compile error on 32-bit

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Feb 3 06:14:10 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=723537
  GStreamer | gst-plugins-gl | git

           Summary: [patch] gl x11 - compile error on 32-bit
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-gl
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: chris at edesix.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


The following trivial patch fixes a compile error in gstglwindow_x11.c on
32-bit systems. The fix requires glib 2.22, but this is okay as it's already
the minimum version.

Chris.

---
gst-plugins-gl-git-2afcb176/gst-libs/gst/gl/x11/gstglwindow_x11.c.pre-gl-32-bit
   2014-01-22 21:07:43.000000000 +0000
+++ gst-plugins-gl-git-2afcb176/gst-libs/gst/gl/x11/gstglwindow_x11.c   
2014-02-03 14:07:42.501320868 +0000
@@ -418,7 +418,7 @@
    * If no loop then the parent is directly set in XCreateWindow
    */
   if (window_x11->loop && g_main_loop_is_running (window_x11->loop)) {
-    GST_LOG ("set parent window id: %lud", id);
+    GST_LOG ("set parent window id: %" G_GUINTPTR_FORMAT "d", id);

     g_mutex_lock (&window_x11->disp_send_lock);
     XGetWindowAttributes (window_x11->disp_send, window_x11->parent_win,
&attr);

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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