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
6bd3b156
Commit
6bd3b156
authored
Mar 19, 2007
by
Chris Robinson
Committed by
Alexandre Julliard
Mar 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Don't delete critical sections before the filter's pins are done using them.
parent
6e5b36d4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
10 deletions
+12
-10
dsoundrender.c
dlls/quartz/dsoundrender.c
+3
-2
parser.c
dlls/quartz/parser.c
+3
-2
transform.c
dlls/quartz/transform.c
+3
-3
videorenderer.c
dlls/quartz/videorenderer.c
+3
-3
No files found.
dlls/quartz/dsoundrender.c
View file @
6bd3b156
...
...
@@ -400,8 +400,6 @@ static ULONG WINAPI DSoundRender_Release(IBaseFilter * iface)
{
IPin
*
pConnectedTo
;
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
if
(
This
->
pClock
)
IReferenceClock_Release
(
This
->
pClock
);
...
...
@@ -425,6 +423,9 @@ static ULONG WINAPI DSoundRender_Release(IBaseFilter * iface)
This
->
lpVtbl
=
NULL
;
This
->
IBasicAudio_vtbl
=
NULL
;
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
TRACE
(
"Destroying Audio Renderer
\n
"
);
CoTaskMemFree
(
This
);
...
...
dlls/quartz/parser.c
View file @
6bd3b156
...
...
@@ -187,8 +187,6 @@ static ULONG WINAPI Parser_Release(IBaseFilter * iface)
{
ULONG
i
;
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
if
(
This
->
pClock
)
IReferenceClock_Release
(
This
->
pClock
);
...
...
@@ -208,6 +206,9 @@ static ULONG WINAPI Parser_Release(IBaseFilter * iface)
CoTaskMemFree
(
This
->
ppPins
);
This
->
lpVtbl
=
NULL
;
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
TRACE
(
"Destroying parser
\n
"
);
CoTaskMemFree
(
This
);
...
...
dlls/quartz/transform.c
View file @
6bd3b156
...
...
@@ -276,9 +276,6 @@ static ULONG WINAPI TransformFilter_Release(IBaseFilter * iface)
{
ULONG
i
;
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
if
(
This
->
pClock
)
IReferenceClock_Release
(
This
->
pClock
);
...
...
@@ -301,6 +298,9 @@ static ULONG WINAPI TransformFilter_Release(IBaseFilter * iface)
This
->
pFuncsTable
->
pfnCleanup
(
This
);
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
TRACE
(
"Destroying transform filter
\n
"
);
CoTaskMemFree
(
This
);
...
...
dlls/quartz/videorenderer.c
View file @
6bd3b156
...
...
@@ -524,9 +524,6 @@ static ULONG WINAPI VideoRenderer_Release(IBaseFilter * iface)
{
IPin
*
pConnectedTo
;
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
DestroyWindow
(
This
->
hWnd
);
PostThreadMessageA
(
This
->
ThreadID
,
WM_QUIT
,
0
,
0
);
WaitForSingleObject
(
This
->
hThread
,
INFINITE
);
...
...
@@ -547,6 +544,9 @@ static ULONG WINAPI VideoRenderer_Release(IBaseFilter * iface)
CoTaskMemFree
(
This
->
ppPins
);
This
->
lpVtbl
=
NULL
;
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
TRACE
(
"Destroying Video Renderer
\n
"
);
CoTaskMemFree
(
This
);
...
...
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