mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
qcap: Force debug info in critical sections.
This commit is contained in:
parent
6e1e52cbc3
commit
02b68a0ac1
3 changed files with 3 additions and 3 deletions
|
@ -824,7 +824,7 @@ HRESULT audio_record_create(IUnknown *outer, IUnknown **out)
|
|||
|
||||
object->state = State_Stopped;
|
||||
InitializeConditionVariable(&object->state_cv);
|
||||
InitializeCriticalSection(&object->state_cs);
|
||||
InitializeCriticalSectionEx(&object->state_cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
|
||||
object->state_cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": audio_record.state_cs");
|
||||
|
||||
TRACE("Created audio recorder %p.\n", object);
|
||||
|
|
|
@ -62,7 +62,7 @@ HRESULT capture_graph_create(IUnknown *outer, IUnknown **out)
|
|||
object->ICaptureGraphBuilder_iface.lpVtbl = &builder_Vtbl;
|
||||
object->ref = 1;
|
||||
object->mygraph = NULL;
|
||||
InitializeCriticalSection(&object->csFilter);
|
||||
InitializeCriticalSectionEx(&object->csFilter, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
|
||||
object->csFilter.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": CaptureGraphImpl.csFilter");
|
||||
|
||||
TRACE("Created capture graph builder %p.\n", object);
|
||||
|
|
|
@ -904,7 +904,7 @@ HRESULT vfw_capture_create(IUnknown *outer, IUnknown **out)
|
|||
|
||||
object->state = State_Stopped;
|
||||
InitializeConditionVariable(&object->state_cv);
|
||||
InitializeCriticalSection(&object->state_cs);
|
||||
InitializeCriticalSectionEx(&object->state_cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO);
|
||||
object->state_cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": vfw_capture.state_cs");
|
||||
|
||||
TRACE("Created VFW capture filter %p.\n", object);
|
||||
|
|
Loading…
Reference in a new issue