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
94efc8b2
Commit
94efc8b2
authored
Oct 01, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Don't send EC_COMPLETE in IBaseFilter::Run().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ad48f308
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
22 deletions
+9
-22
renderer.c
dlls/strmbase/renderer.c
+9
-22
No files found.
dlls/strmbase/renderer.c
View file @
94efc8b2
...
...
@@ -420,7 +420,6 @@ HRESULT WINAPI BaseRendererImpl_Stop(IBaseFilter * iface)
HRESULT
WINAPI
BaseRendererImpl_Run
(
IBaseFilter
*
iface
,
REFERENCE_TIME
tStart
)
{
HRESULT
hr
=
S_OK
;
BaseRenderer
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
wine_dbgstr_longlong
(
tStart
));
...
...
@@ -435,30 +434,18 @@ HRESULT WINAPI BaseRendererImpl_Run(IBaseFilter * iface, REFERENCE_TIME tStart)
{
This
->
sink
.
end_of_stream
=
FALSE
;
}
else
if
(
This
->
filter
.
filterInfo
.
pGraph
)
{
IMediaEventSink
*
pEventSink
;
hr
=
IFilterGraph_QueryInterface
(
This
->
filter
.
filterInfo
.
pGraph
,
&
IID_IMediaEventSink
,
(
LPVOID
*
)
&
pEventSink
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IMediaEventSink_Notify
(
pEventSink
,
EC_COMPLETE
,
S_OK
,
(
LONG_PTR
)
This
);
IMediaEventSink_Release
(
pEventSink
);
}
hr
=
S_OK
;
}
if
(
SUCCEEDED
(
hr
))
{
QualityControlRender_Start
(
This
->
qcimpl
,
This
->
filter
.
rtStreamStart
);
if
(
This
->
sink
.
pin
.
peer
&&
This
->
pFuncsTable
->
renderer_start_stream
)
This
->
pFuncsTable
->
renderer_start_stream
(
This
);
if
(
This
->
filter
.
state
==
State_Stopped
)
BaseRendererImpl_ClearPendingSample
(
This
);
This
->
filter
.
state
=
State_Running
;
}
QualityControlRender_Start
(
This
->
qcimpl
,
This
->
filter
.
rtStreamStart
);
if
(
This
->
sink
.
pin
.
peer
&&
This
->
pFuncsTable
->
renderer_start_stream
)
This
->
pFuncsTable
->
renderer_start_stream
(
This
);
if
(
This
->
filter
.
state
==
State_Stopped
)
BaseRendererImpl_ClearPendingSample
(
This
);
This
->
filter
.
state
=
State_Running
;
out:
LeaveCriticalSection
(
&
This
->
csRenderLock
);
return
hr
;
return
S_OK
;
}
HRESULT
WINAPI
BaseRendererImpl_Pause
(
IBaseFilter
*
iface
)
...
...
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