Commit 1d3b312f authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

amstream: Force debug info in critical sections.

parent ce2457d5
......@@ -1102,7 +1102,7 @@ HRESULT filter_create(IUnknown *outer, void **out)
object->refcount = 1;
list_init(&object->free_events);
list_init(&object->used_events);
InitializeCriticalSection(&object->cs);
InitializeCriticalSectionEx(&object->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
object->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": MediaStreamFilter.cs");
TRACE("Created media stream filter %p.\n", object);
......
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