[Bug 733409] New: d3dvideosink fails to build

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Jul 19 09:24:42 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733409
  GStreamer | gst-plugins-bad | 1.x

           Summary: d3dvideosink fails to build
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lrn1986 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


d3dhelpers.c: In function 'd3d_set_window_handle':
d3dhelpers.c:1088:5: error: passing argument 3 of 'PostMessageA' makes integer
from pointer without a cast [-Werror]
     PostMessage (sink->d3d.window_handle, WM_QUIT_THREAD, NULL, NULL);
     ^
In file included from f:\gstreamer-buildslave\mingw\include\windows.h:72:0,
                 from d3dhelpers.h:27,
                 from d3dvideosink.h:30,
                 from d3dhelpers.c:26:
f:\gstreamer-buildslave\mingw\include\winuser.h:1886:29: note: expected
'WPARAM' but argument is of type 'void *'
   WINUSERAPI WINBOOL WINAPI PostMessageA(HWND hWnd,UINT Msg,WPARAM
wParam,LPARAM lParam);
                             ^
d3dhelpers.c:1088:5: error: passing argument 4 of 'PostMessageA' makes integer
from pointer without a cast [-Werror]
     PostMessage (sink->d3d.window_handle, WM_QUIT_THREAD, NULL, NULL);
     ^
In file included from f:\gstreamer-buildslave\mingw\include\windows.h:72:0,
                 from d3dhelpers.h:27,
                 from d3dvideosink.h:30,
                 from d3dhelpers.c:26:
f:\gstreamer-buildslave\mingw\include\winuser.h:1886:29: note: expected
'LPARAM' but argument is of type 'void *'
   WINUSERAPI WINBOOL WINAPI PostMessageA(HWND hWnd,UINT Msg,WPARAM
wParam,LPARAM lParam);
                             ^
d3dhelpers.c: In function 'd3d_internal_window_thread':
d3dhelpers.c:2130:8: error: unused variable 'fGetMsg' [-Werror=unused-variable]
   BOOL fGetMsg;
        ^
d3dhelpers.c: In function 'd3d_hidden_window_thread':
d3dhelpers.c:2613:5: error: passing argument 3 of 'PostMessageA' makes integer
from pointer without a cast [-Werror]
     PostMessage (hWnd, WM_DESTROY, NULL, NULL);
     ^
In file included from f:\gstreamer-buildslave\mingw\include\windows.h:72:0,
                 from d3dhelpers.h:27,
                 from d3dvideosink.h:30,
                 from d3dhelpers.c:26:
f:\gstreamer-buildslave\mingw\include\winuser.h:1886:29: note: expected
'WPARAM' but argument is of type 'void *'
   WINUSERAPI WINBOOL WINAPI PostMessageA(HWND hWnd,UINT Msg,WPARAM
wParam,LPARAM lParam);
                             ^
d3dhelpers.c:2613:5: error: passing argument 4 of 'PostMessageA' makes integer
from pointer without a cast [-Werror]
     PostMessage (hWnd, WM_DESTROY, NULL, NULL);
     ^
In file included from f:\gstreamer-buildslave\mingw\include\windows.h:72:0,
                 from d3dhelpers.h:27,
                 from d3dvideosink.h:30,
                 from d3dhelpers.c:26:
f:\gstreamer-buildslave\mingw\include\winuser.h:1886:29: note: expected
'LPARAM' but argument is of type 'void *'
   WINUSERAPI WINBOOL WINAPI PostMessageA(HWND hWnd,UINT Msg,WPARAM
wParam,LPARAM lParam);
                             ^
cc1.exe: all warnings being treated as errors

-- 
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