Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
809f6842
Commit
809f6842
authored
Mar 13, 2007
by
Chris Robinson
Committed by
Alexandre Julliard
Mar 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Force disconnect when a filter is fully released.
parent
559d541c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
0 deletions
+40
-0
dsoundrender.c
dlls/quartz/dsoundrender.c
+9
-0
parser.c
dlls/quartz/parser.c
+11
-0
transform.c
dlls/quartz/transform.c
+11
-0
videorenderer.c
dlls/quartz/videorenderer.c
+9
-0
No files found.
dlls/quartz/dsoundrender.c
View file @
809f6842
...
...
@@ -398,6 +398,8 @@ static ULONG WINAPI DSoundRender_Release(IBaseFilter * iface)
if
(
!
refCount
)
{
IPin
*
pConnectedTo
;
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
if
(
This
->
pClock
)
...
...
@@ -410,6 +412,13 @@ static ULONG WINAPI DSoundRender_Release(IBaseFilter * iface)
IDirectSound_Release
(
This
->
dsound
);
This
->
dsound
=
NULL
;
if
(
SUCCEEDED
(
IPin_ConnectedTo
(
This
->
ppPins
[
0
],
&
pConnectedTo
)))
{
IPin_Disconnect
(
pConnectedTo
);
IPin_Release
(
pConnectedTo
);
}
IPin_Disconnect
(
This
->
ppPins
[
0
]);
IPin_Release
(
This
->
ppPins
[
0
]);
CoTaskMemFree
(
This
->
ppPins
);
...
...
dlls/quartz/parser.c
View file @
809f6842
...
...
@@ -193,7 +193,18 @@ static ULONG WINAPI Parser_Release(IBaseFilter * iface)
IReferenceClock_Release
(
This
->
pClock
);
for
(
i
=
0
;
i
<
This
->
cStreams
+
1
;
i
++
)
{
IPin
*
pConnectedTo
;
if
(
SUCCEEDED
(
IPin_ConnectedTo
(
This
->
ppPins
[
i
],
&
pConnectedTo
)))
{
IPin_Disconnect
(
pConnectedTo
);
IPin_Release
(
pConnectedTo
);
}
IPin_Disconnect
(
This
->
ppPins
[
i
]);
IPin_Release
(
This
->
ppPins
[
i
]);
}
CoTaskMemFree
(
This
->
ppPins
);
This
->
lpVtbl
=
NULL
;
...
...
dlls/quartz/transform.c
View file @
809f6842
...
...
@@ -283,7 +283,18 @@ static ULONG WINAPI TransformFilter_Release(IBaseFilter * iface)
IReferenceClock_Release
(
This
->
pClock
);
for
(
i
=
0
;
i
<
2
;
i
++
)
{
IPin
*
pConnectedTo
;
if
(
SUCCEEDED
(
IPin_ConnectedTo
(
This
->
ppPins
[
i
],
&
pConnectedTo
)))
{
IPin_Disconnect
(
pConnectedTo
);
IPin_Release
(
pConnectedTo
);
}
IPin_Disconnect
(
This
->
ppPins
[
i
]);
IPin_Release
(
This
->
ppPins
[
i
]);
}
CoTaskMemFree
(
This
->
ppPins
);
This
->
lpVtbl
=
NULL
;
...
...
dlls/quartz/videorenderer.c
View file @
809f6842
...
...
@@ -522,6 +522,8 @@ static ULONG WINAPI VideoRenderer_Release(IBaseFilter * iface)
if
(
!
refCount
)
{
IPin
*
pConnectedTo
;
This
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csFilter
);
...
...
@@ -533,6 +535,13 @@ static ULONG WINAPI VideoRenderer_Release(IBaseFilter * iface)
if
(
This
->
pClock
)
IReferenceClock_Release
(
This
->
pClock
);
if
(
SUCCEEDED
(
IPin_ConnectedTo
(
This
->
ppPins
[
0
],
&
pConnectedTo
)))
{
IPin_Disconnect
(
pConnectedTo
);
IPin_Release
(
pConnectedTo
);
}
IPin_Disconnect
(
This
->
ppPins
[
0
]);
IPin_Release
(
This
->
ppPins
[
0
]);
CoTaskMemFree
(
This
->
ppPins
);
...
...
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