We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1705

Summary: video freeze when render video with d3d9
Product: SDL Reporter: Rex Lu <falfly>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED WORKSFORME QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: gabomdq, icculus, philipp.wiesemann
Version: HG 2.0   
Hardware: x86   
OS: Windows 7   

Description Rex Lu 2013-01-30 01:43:09 UTC
when i play an video with sdl2, it played the video normally in serveral seconds. But then the video freeze and block forerver.
I debug in the SDL2 function, i found that when D3D_RenderPresent calling IDirect3DDevice9_Present, sdl2 block and never return back.
I have installed the directX 9 Sdk(June 2010)
Comment 1 Philipp Wiesemann 2013-02-02 06:42:03 UTC
Similar and more to bug bug #1706.
Comment 2 Gabriel Jacobo 2013-04-23 16:07:31 UTC
*** Bug 1706 has been marked as a duplicate of this bug. ***
Comment 3 Gabriel Jacobo 2013-04-23 16:13:26 UTC
There's nothing in the Direct3D docs stating that IDirect3DDevice9::Present has blocking behaviour, so this can be hard to track down.
What additional information can you provide? A test case that fails? Does this happen across different systems?

Ref: http://msdn.microsoft.com/en-us/library/windows/desktop/bb174423(v=vs.85).aspx
Comment 4 Ryan C. Gordon 2015-02-18 04:52:13 UTC
Closing old bug that never got a further reply.

--ryan.