[Bug 15310] DVDShrink: Preview no longer works

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 5 19:55:49 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=15310





--- Comment #7 from Austin English <austinenglish at gmail.com>  2008-10-05 19:55:47 ---
(In reply to comment #6)
> It sees to me that the deadlock is the initialization code. SetWindowPos never
> returns. Does adding ShowWindow(This->hWnd, SW_SHOW); before the SetWindowPos
> call at line 332 work?
> 

diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c
index c7d6582..95b13eb 100644
--- a/dlls/quartz/videorenderer.c
+++ b/dlls/quartz/videorenderer.c
@@ -322,6 +322,9 @@ static DWORD
VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
             This->WindowPos = This->SourceRect;

         TRACE("WindowPos: %d %d %d %d\n", This->WindowPos.left,
This->WindowPos.top, This->WindowPos.right, This->WindowPos.bottom);
+
+        ShowWindow(This->hWnd, SW_SHOW);
+
         SetWindowPos(This->hWnd, NULL,
             This->WindowPos.left,
             This->WindowPos.top,

Nope, still fails.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list