Commit acb8ba64 authored by Haakon Sporsheim's avatar Haakon Sporsheim Committed by Ole Andre Vadla Ravnaas
Browse files

sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw): Do...

sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw): Do IDirectDrawClipper_SetHWnd() if the window I...

Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw):
Do IDirectDrawClipper_SetHWnd() if the window ID has already been
set after creating the clipper.
parent 368834ab
2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw):
Do IDirectDrawClipper_SetHWnd() if the window ID has already been
set after creating the clipper.
2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
 
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
......
......@@ -1308,6 +1308,9 @@ gst_directdraw_sink_setup_ddraw (GstDirectDrawSink * ddrawsink)
hRes = IDirectDraw7_CreateClipper (ddrawsink->ddraw_object, 0,
&ddrawsink->clipper, NULL);
if (hRes == DD_OK && ddrawsink->video_window)
IDirectDrawClipper_SetHWnd (ddrawsink->clipper, 0, ddrawsink->video_window);
/* create our primary surface */
if (!gst_directdraw_sink_check_primary_surface (ddrawsink))
return FALSE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment