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
92f29035
Commit
92f29035
authored
Jun 30, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 01, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: COM cleanup for the IMediaPosition iface.
parent
48287946
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
filtergraph.c
dlls/quartz/filtergraph.c
+5
-5
No files found.
dlls/quartz/filtergraph.c
View file @
92f29035
...
...
@@ -162,7 +162,7 @@ typedef struct _IFilterGraphImpl {
IMediaFilter
IMediaFilter_iface
;
IMediaEventSink
IMediaEventSink_iface
;
IGraphConfig
IGraphConfig_iface
;
const
IMediaPositionVtbl
*
IMediaPosition_vtbl
;
IMediaPosition
IMediaPosition_iface
;
const
IUnknownVtbl
*
IInner_vtbl
;
/* IAMGraphStreams */
/* IAMStats */
...
...
@@ -262,7 +262,7 @@ static HRESULT WINAPI FilterGraphInner_QueryInterface(IUnknown * iface,
*
ppvObj
=
&
This
->
IGraphConfig_iface
;
TRACE
(
" returning IGraphConfig interface (%p)
\n
"
,
*
ppvObj
);
}
else
if
(
IsEqualGUID
(
&
IID_IMediaPosition
,
riid
))
{
*
ppvObj
=
&
(
This
->
IMediaPosition_vtbl
)
;
*
ppvObj
=
&
This
->
IMediaPosition_iface
;
TRACE
(
" returning IMediaPosition interface (%p)
\n
"
,
*
ppvObj
);
}
else
if
(
IsEqualGUID
(
&
IID_IFilterMapper
,
riid
))
{
TRACE
(
" requesting IFilterMapper interface from aggregated filtermapper (%p)
\n
"
,
*
ppvObj
);
...
...
@@ -2570,9 +2570,9 @@ static const IMediaSeekingVtbl IMediaSeeking_VTable =
MediaSeeking_GetPreroll
};
static
inline
IFilterGraphImpl
*
impl_from_IMediaPosition
(
IMediaPosition
*
iface
)
static
inline
IFilterGraphImpl
*
impl_from_IMediaPosition
(
IMediaPosition
*
iface
)
{
return
(
IFilterGraphImpl
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
IFilterGraphImpl
,
IMediaPosition_vtbl
)
);
return
CONTAINING_RECORD
(
iface
,
IFilterGraphImpl
,
IMediaPosition_iface
);
}
/*** IUnknown methods ***/
...
...
@@ -5459,7 +5459,7 @@ HRESULT FilterGraph_create(IUnknown *pUnkOuter, LPVOID *ppObj)
fimpl
->
IMediaFilter_iface
.
lpVtbl
=
&
IMediaFilter_VTable
;
fimpl
->
IMediaEventSink_iface
.
lpVtbl
=
&
IMediaEventSink_VTable
;
fimpl
->
IGraphConfig_iface
.
lpVtbl
=
&
IGraphConfig_VTable
;
fimpl
->
IMediaPosition_
v
tbl
=
&
IMediaPosition_VTable
;
fimpl
->
IMediaPosition_
iface
.
lpV
tbl
=
&
IMediaPosition_VTable
;
fimpl
->
ref
=
1
;
fimpl
->
ppFiltersInGraph
=
NULL
;
fimpl
->
pFilterNames
=
NULL
;
...
...
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