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
0011be7f
Commit
0011be7f
authored
Nov 27, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Get rid of BaseRendererImpl_BeginFlush().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
09b39646
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
renderer.c
dlls/strmbase/renderer.c
+4
-9
strmbase.h
include/wine/strmbase.h
+0
-1
No files found.
dlls/strmbase/renderer.c
View file @
0011be7f
...
...
@@ -108,7 +108,10 @@ static HRESULT WINAPI BaseRenderer_InputPin_BeginFlush(IPin * iface)
EnterCriticalSection
(
&
pFilter
->
filter
.
csFilter
);
hr
=
BaseInputPinImpl_BeginFlush
(
iface
);
if
(
SUCCEEDED
(
hr
))
hr
=
BaseRendererImpl_BeginFlush
(
pFilter
);
{
BaseRendererImpl_ClearPendingSample
(
pFilter
);
SetEvent
(
pFilter
->
flush_event
);
}
LeaveCriticalSection
(
&
pFilter
->
filter
.
csFilter
);
LeaveCriticalSection
(
&
pFilter
->
csRenderLock
);
return
hr
;
...
...
@@ -476,14 +479,6 @@ HRESULT WINAPI BaseRendererImpl_EndOfStream(struct strmbase_renderer *iface)
return
hr
;
}
HRESULT
WINAPI
BaseRendererImpl_BeginFlush
(
struct
strmbase_renderer
*
iface
)
{
TRACE
(
"(%p)
\n
"
,
iface
);
BaseRendererImpl_ClearPendingSample
(
iface
);
SetEvent
(
iface
->
flush_event
);
return
S_OK
;
}
HRESULT
WINAPI
BaseRendererImpl_EndFlush
(
struct
strmbase_renderer
*
iface
)
{
TRACE
(
"(%p)
\n
"
,
iface
);
...
...
include/wine/strmbase.h
View file @
0011be7f
...
...
@@ -567,7 +567,6 @@ struct strmbase_renderer_ops
HRESULT
(
*
renderer_pin_query_interface
)(
struct
strmbase_renderer
*
iface
,
REFIID
iid
,
void
**
out
);
};
HRESULT
WINAPI
BaseRendererImpl_BeginFlush
(
struct
strmbase_renderer
*
filter
);
HRESULT
WINAPI
BaseRendererImpl_ClearPendingSample
(
struct
strmbase_renderer
*
filter
);
HRESULT
WINAPI
BaseRendererImpl_EndOfStream
(
struct
strmbase_renderer
*
filter
);
HRESULT
WINAPI
BaseRendererImpl_EndFlush
(
struct
strmbase_renderer
*
filter
);
...
...
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