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
0d0f1e0f
Commit
0d0f1e0f
authored
Jun 06, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Get rid of BaseRendererImpl_QueryInterface().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
54e45dbf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
renderer.c
dlls/strmbase/renderer.c
+0
-16
strmbase.h
include/wine/strmbase.h
+0
-1
No files found.
dlls/strmbase/renderer.c
View file @
0d0f1e0f
...
...
@@ -289,22 +289,6 @@ HRESULT WINAPI strmbase_renderer_init(BaseRenderer *This, const IBaseFilterVtbl
return
hr
;
}
HRESULT
WINAPI
BaseRendererImpl_QueryInterface
(
IBaseFilter
*
iface
,
REFIID
riid
,
LPVOID
*
ppv
)
{
BaseRenderer
*
This
=
impl_from_IBaseFilter
(
iface
);
if
(
IsEqualIID
(
riid
,
&
IID_IMediaSeeking
)
||
IsEqualIID
(
riid
,
&
IID_IMediaPosition
))
return
IUnknown_QueryInterface
(
This
->
pPosition
,
riid
,
ppv
);
else
if
(
IsEqualIID
(
riid
,
&
IID_IQualityControl
))
{
*
ppv
=
&
This
->
qcimpl
->
IQualityControl_iface
;
IUnknown_AddRef
((
IUnknown
*
)(
*
ppv
));
return
S_OK
;
}
else
return
BaseFilterImpl_QueryInterface
(
iface
,
riid
,
ppv
);
}
void
strmbase_renderer_cleanup
(
BaseRenderer
*
filter
)
{
IPin
*
peer
;
...
...
include/wine/strmbase.h
View file @
0d0f1e0f
...
...
@@ -611,7 +611,6 @@ typedef struct BaseRendererFuncTable {
HRESULT
(
*
renderer_query_interface
)(
BaseRenderer
*
iface
,
REFIID
iid
,
void
**
out
);
}
BaseRendererFuncTable
;
HRESULT
WINAPI
BaseRendererImpl_QueryInterface
(
IBaseFilter
*
iface
,
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
WINAPI
BaseRendererImpl_Receive
(
BaseRenderer
*
This
,
IMediaSample
*
pSample
);
HRESULT
WINAPI
BaseRendererImpl_Stop
(
IBaseFilter
*
iface
);
HRESULT
WINAPI
BaseRendererImpl_Run
(
IBaseFilter
*
iface
,
REFERENCE_TIME
tStart
);
...
...
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