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
e58855e0
Commit
e58855e0
authored
Jul 04, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Jul 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Only call begin process functions in transform filter when stopped.
Fixes some graphical glitches that may occur otherwise.
parent
11e2b1ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
transform.c
dlls/quartz/transform.c
+6
-4
No files found.
dlls/quartz/transform.c
View file @
e58855e0
...
@@ -349,7 +349,7 @@ static HRESULT WINAPI TransformFilter_Pause(IBaseFilter * iface)
...
@@ -349,7 +349,7 @@ static HRESULT WINAPI TransformFilter_Pause(IBaseFilter * iface)
EnterCriticalSection
(
&
This
->
csFilter
);
EnterCriticalSection
(
&
This
->
csFilter
);
{
{
if
(
This
->
state
==
State_Stopped
)
if
(
This
->
state
==
State_Stopped
)
IBaseFilter_Run
(
iface
,
-
1
)
;
((
InputPin
*
)
This
->
ppPins
[
0
])
->
end_of_stream
=
0
;
This
->
state
=
State_Paused
;
This
->
state
=
State_Paused
;
}
}
...
@@ -368,13 +368,15 @@ static HRESULT WINAPI TransformFilter_Run(IBaseFilter * iface, REFERENCE_TIME tS
...
@@ -368,13 +368,15 @@ static HRESULT WINAPI TransformFilter_Run(IBaseFilter * iface, REFERENCE_TIME tS
EnterCriticalSection
(
&
This
->
csFilter
);
EnterCriticalSection
(
&
This
->
csFilter
);
{
{
if
(
This
->
state
==
State_Stopped
)
if
(
This
->
state
==
State_Stopped
)
{
((
InputPin
*
)
This
->
ppPins
[
0
])
->
end_of_stream
=
0
;
((
InputPin
*
)
This
->
ppPins
[
0
])
->
end_of_stream
=
0
;
if
(
This
->
pFuncsTable
->
pfnProcessBegin
)
This
->
pFuncsTable
->
pfnProcessBegin
(
This
);
OutputPin_CommitAllocator
((
OutputPin
*
)
This
->
ppPins
[
1
]);
}
This
->
rtStreamStart
=
tStart
;
This
->
rtStreamStart
=
tStart
;
This
->
state
=
State_Running
;
This
->
state
=
State_Running
;
OutputPin_CommitAllocator
((
OutputPin
*
)
This
->
ppPins
[
1
]);
if
(
This
->
pFuncsTable
->
pfnProcessBegin
)
This
->
pFuncsTable
->
pfnProcessBegin
(
This
);
}
}
LeaveCriticalSection
(
&
This
->
csFilter
);
LeaveCriticalSection
(
&
This
->
csFilter
);
...
...
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