GNOME Bugzilla – Bug 366523
[directdraw] fix playback and vs8 fixes
Last modified: 2006-11-01 10:18:51 UTC
Hi, directdrawsink doesn't display the video for me, because ddraw fails on BltFast telling that clipper was not set on surface. Clipper is set too early on HWND=(NULL) because the code doesn't wait for window creation. I implemented and attached the patch waiting for output window creation on max timeout 10 sec. patch summary: waiting for output window creation on max timeout 10 sec. use HAVE_UNISTD_H adding needed libs in vs8 project files.
Created attachment 75583 [details] [review] the patch
Thanks, committed: 2006-11-01 Tim-Philipp Müller <tim at centricular dot net> Patch by: Sergey Scobich <sergey dot scobich at gmail com> * sys/directdraw/gstdirectdrawsink.c: (gst_directdrawsink_window_thread), (gst_directdrawsink_create_default_window): * sys/directdraw/gstdirectdrawsink.h: * sys/directsound/gstdirectsoundsink.c: Wait until the window is created before using it; guard unistd.h includes with HAVE_UNISTD_H. (#366523) * win32/vs8/libgstdirectdraw.vcproj: * win32/vs8/libgstdirectsound.vcproj: Update project files.