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
3fd83279
Commit
3fd83279
authored
Mar 04, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Mar 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Force debug info in critical sections.
parent
8857df96
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
media_sink.c
dlls/winegstreamer/media_sink.c
+1
-1
media_source.c
dlls/winegstreamer/media_source.c
+1
-1
quartz_parser.c
dlls/winegstreamer/quartz_parser.c
+2
-2
wg_sample.c
dlls/winegstreamer/wg_sample.c
+1
-1
wm_reader.c
dlls/winegstreamer/wm_reader.c
+2
-2
No files found.
dlls/winegstreamer/media_sink.c
View file @
3fd83279
...
...
@@ -1243,7 +1243,7 @@ static HRESULT media_sink_create(IMFByteStream *bytestream, const char *format,
media_sink
->
async_callback
.
lpVtbl
=
&
media_sink_callback_vtbl
;
media_sink
->
refcount
=
1
;
media_sink
->
state
=
STATE_OPENED
;
InitializeCriticalSection
(
&
media_sink
->
cs
);
InitializeCriticalSection
Ex
(
&
media_sink
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
media_sink
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": cs"
);
IMFByteStream_AddRef
((
media_sink
->
bytestream
=
bytestream
));
list_init
(
&
media_sink
->
stream_sinks
);
...
...
dlls/winegstreamer/media_source.c
View file @
3fd83279
...
...
@@ -1634,7 +1634,7 @@ static HRESULT media_source_create(struct object_context *context, IMFMediaSourc
IMFByteStream_AddRef
(
context
->
stream
);
object
->
file_size
=
context
->
file_size
;
object
->
rate
=
1
.
0
f
;
InitializeCriticalSection
(
&
object
->
cs
);
InitializeCriticalSection
Ex
(
&
object
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": cs"
);
if
(
FAILED
(
hr
=
MFCreateEventQueue
(
&
object
->
event_queue
)))
...
...
dlls/winegstreamer/quartz_parser.c
View file @
3fd83279
...
...
@@ -1663,7 +1663,7 @@ static HRESULT parser_create(enum wg_parser_type type, BOOL output_compressed, s
return
E_OUTOFMEMORY
;
}
InitializeCriticalSection
(
&
object
->
streaming_cs
);
InitializeCriticalSection
Ex
(
&
object
->
streaming_cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
streaming_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": parser.streaming_cs"
);
InitializeConditionVariable
(
&
object
->
flushing_cv
);
...
...
@@ -2145,7 +2145,7 @@ static struct parser_source *create_pin(struct parser *filter,
GST_ChangeCurrent
,
GST_ChangeRate
);
BaseFilterImpl_IncrementPinVersion
(
&
filter
->
filter
);
InitializeCriticalSection
(
&
pin
->
flushing_cs
);
InitializeCriticalSection
Ex
(
&
pin
->
flushing_cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
pin
->
flushing_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": pin.flushing_cs"
);
InitializeConditionVariable
(
&
pin
->
eos_cv
);
...
...
dlls/winegstreamer/wg_sample.c
View file @
3fd83279
...
...
@@ -283,7 +283,7 @@ HRESULT wg_sample_queue_create(struct wg_sample_queue **out)
if
(
!
(
queue
=
calloc
(
1
,
sizeof
(
*
queue
))))
return
E_OUTOFMEMORY
;
InitializeCriticalSection
(
&
queue
->
cs
);
InitializeCriticalSection
Ex
(
&
queue
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
queue
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": cs"
);
list_init
(
&
queue
->
samples
);
...
...
dlls/winegstreamer/wm_reader.c
View file @
3fd83279
...
...
@@ -2658,9 +2658,9 @@ HRESULT WINAPI winegstreamer_create_wm_sync_reader(IUnknown *outer, void **out)
object
->
outer
=
outer
?
outer
:
&
object
->
IUnknown_inner
;
object
->
refcount
=
1
;
InitializeCriticalSection
(
&
object
->
cs
);
InitializeCriticalSection
Ex
(
&
object
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": reader.cs"
);
InitializeCriticalSection
(
&
object
->
shutdown_cs
);
InitializeCriticalSection
Ex
(
&
object
->
shutdown_cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
shutdown_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": reader.shutdown_cs"
);
TRACE
(
"Created reader %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