mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:16:13 +00:00
directdraw: Fix warnings
This commit is contained in:
parent
25a54fc391
commit
c8702e06c4
1 changed files with 3 additions and 3 deletions
|
@ -302,7 +302,7 @@ gst_ddrawsurface_class_init (gpointer g_class, gpointer class_data)
|
||||||
mini_object_class->finalize = GST_DEBUG_FUNCPTR (gst_ddrawsurface_finalize);
|
mini_object_class->finalize = GST_DEBUG_FUNCPTR (gst_ddrawsurface_finalize);
|
||||||
}
|
}
|
||||||
|
|
||||||
GType
|
static GType
|
||||||
gst_ddrawsurface_get_type (void)
|
gst_ddrawsurface_get_type (void)
|
||||||
{
|
{
|
||||||
static GType _gst_ddrawsurface_type;
|
static GType _gst_ddrawsurface_type;
|
||||||
|
@ -1390,7 +1390,7 @@ gst_directdraw_sink_setup_ddraw (GstDirectDrawSink * ddrawsink)
|
||||||
return bRet;
|
return bRet;
|
||||||
}
|
}
|
||||||
|
|
||||||
long FAR PASCAL
|
static long FAR PASCAL
|
||||||
WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
switch (message) {
|
switch (message) {
|
||||||
|
@ -1737,7 +1737,7 @@ gst_directdraw_sink_get_depth (LPDDPIXELFORMAT lpddpfPixelFormat)
|
||||||
return order;
|
return order;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT WINAPI
|
static HRESULT WINAPI
|
||||||
EnumModesCallback2 (LPDDSURFACEDESC lpDDSurfaceDesc, LPVOID lpContext)
|
EnumModesCallback2 (LPDDSURFACEDESC lpDDSurfaceDesc, LPVOID lpContext)
|
||||||
{
|
{
|
||||||
GstDirectDrawSink *ddrawsink = (GstDirectDrawSink *) lpContext;
|
GstDirectDrawSink *ddrawsink = (GstDirectDrawSink *) lpContext;
|
||||||
|
|
Loading…
Reference in a new issue