Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
02b68a0a
Commit
02b68a0a
authored
Feb 29, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Mar 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Force debug info in critical sections.
parent
6e1e52cb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
audiorecord.c
dlls/qcap/audiorecord.c
+1
-1
capturegraph.c
dlls/qcap/capturegraph.c
+1
-1
vfwcapture.c
dlls/qcap/vfwcapture.c
+1
-1
No files found.
dlls/qcap/audiorecord.c
View file @
02b68a0a
...
@@ -824,7 +824,7 @@ HRESULT audio_record_create(IUnknown *outer, IUnknown **out)
...
@@ -824,7 +824,7 @@ HRESULT audio_record_create(IUnknown *outer, IUnknown **out)
object
->
state
=
State_Stopped
;
object
->
state
=
State_Stopped
;
InitializeConditionVariable
(
&
object
->
state_cv
);
InitializeConditionVariable
(
&
object
->
state_cv
);
InitializeCriticalSection
(
&
object
->
state_cs
);
InitializeCriticalSection
Ex
(
&
object
->
state_cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
state_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": audio_record.state_cs"
);
object
->
state_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": audio_record.state_cs"
);
TRACE
(
"Created audio recorder %p.
\n
"
,
object
);
TRACE
(
"Created audio recorder %p.
\n
"
,
object
);
...
...
dlls/qcap/capturegraph.c
View file @
02b68a0a
...
@@ -62,7 +62,7 @@ HRESULT capture_graph_create(IUnknown *outer, IUnknown **out)
...
@@ -62,7 +62,7 @@ HRESULT capture_graph_create(IUnknown *outer, IUnknown **out)
object
->
ICaptureGraphBuilder_iface
.
lpVtbl
=
&
builder_Vtbl
;
object
->
ICaptureGraphBuilder_iface
.
lpVtbl
=
&
builder_Vtbl
;
object
->
ref
=
1
;
object
->
ref
=
1
;
object
->
mygraph
=
NULL
;
object
->
mygraph
=
NULL
;
InitializeCriticalSection
(
&
object
->
csFilter
);
InitializeCriticalSection
Ex
(
&
object
->
csFilter
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": CaptureGraphImpl.csFilter"
);
object
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": CaptureGraphImpl.csFilter"
);
TRACE
(
"Created capture graph builder %p.
\n
"
,
object
);
TRACE
(
"Created capture graph builder %p.
\n
"
,
object
);
...
...
dlls/qcap/vfwcapture.c
View file @
02b68a0a
...
@@ -904,7 +904,7 @@ HRESULT vfw_capture_create(IUnknown *outer, IUnknown **out)
...
@@ -904,7 +904,7 @@ HRESULT vfw_capture_create(IUnknown *outer, IUnknown **out)
object
->
state
=
State_Stopped
;
object
->
state
=
State_Stopped
;
InitializeConditionVariable
(
&
object
->
state_cv
);
InitializeConditionVariable
(
&
object
->
state_cv
);
InitializeCriticalSection
(
&
object
->
state_cs
);
InitializeCriticalSection
Ex
(
&
object
->
state_cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
state_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": vfw_capture.state_cs"
);
object
->
state_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": vfw_capture.state_cs"
);
TRACE
(
"Created VFW capture filter %p.
\n
"
,
object
);
TRACE
(
"Created VFW capture filter %p.
\n
"
,
object
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment