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
f63950d0
Commit
f63950d0
authored
Nov 24, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Change VideoRenderer_Run to handle EndOfStream slightly better.
parent
0a4adc1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
videorenderer.c
dlls/quartz/videorenderer.c
+4
-6
No files found.
dlls/quartz/videorenderer.c
View file @
f63950d0
...
...
@@ -821,19 +821,17 @@ static HRESULT WINAPI VideoRenderer_Run(IBaseFilter * iface, REFERENCE_TIME tSta
EnterCriticalSection
(
&
This
->
filter
.
csFilter
);
if
(
This
->
filter
.
state
==
State_Running
)
goto
out
;
if
(
This
->
pInputPin
->
pin
.
pConnectedTo
)
This
->
filter
.
rtStreamStart
=
tStart
;
QualityControlRender_Start
(
&
This
->
qcimpl
,
tStart
);
if
(
This
->
pInputPin
->
pin
.
pConnectedTo
&&
(
This
->
filter
.
state
==
State_Stopped
||
!
This
->
pInputPin
->
end_of_stream
))
{
if
(
This
->
filter
.
state
==
State_Stopped
)
{
This
->
pInputPin
->
end_of_stream
=
0
;
ResetEvent
(
This
->
hEvent
);
VideoRenderer_AutoShowWindow
(
This
);
This
->
pInputPin
->
end_of_stream
=
0
;
}
SetEvent
(
This
->
blocked
);
This
->
filter
.
rtStreamStart
=
tStart
;
This
->
filter
.
state
=
State_Running
;
QualityControlRender_Start
(
&
This
->
qcimpl
,
tStart
);
}
else
if
(
This
->
filter
.
filterInfo
.
pGraph
)
{
IMediaEventSink
*
pEventSink
;
hr
=
IFilterGraph_QueryInterface
(
This
->
filter
.
filterInfo
.
pGraph
,
&
IID_IMediaEventSink
,
(
LPVOID
*
)
&
pEventSink
);
...
...
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