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
b15c4113
Commit
b15c4113
authored
Mar 12, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Mar 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Remove duplicate GraphBuilder member.
parent
8b5f6bf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
amstream.c
dlls/amstream/amstream.c
+2
-7
No files found.
dlls/amstream/amstream.c
View file @
b15c4113
...
...
@@ -36,7 +36,6 @@ typedef struct {
LONG
ref
;
IGraphBuilder
*
pFilterGraph
;
IPin
*
ipin
;
IGraphBuilder
*
GraphBuilder
;
ULONG
nbStreams
;
IMediaStream
**
pStreams
;
STREAM_TYPE
StreamType
;
...
...
@@ -313,10 +312,6 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_OpenFile(IAMMultiMediaStream* ifac
return
ret
;
}
ret
=
IFilterGraph_QueryInterface
(
This
->
pFilterGraph
,
&
IID_IGraphBuilder
,
(
void
**
)
&
This
->
GraphBuilder
);
if
(
ret
!=
S_OK
)
goto
end
;
ret
=
CoCreateInstance
(
&
CLSID_AsyncReader
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IFileSourceFilter
,
(
void
**
)
&
SourceFilter
);
if
(
ret
!=
S_OK
)
return
ret
;
...
...
@@ -357,7 +352,7 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_OpenFile(IAMMultiMediaStream* ifac
goto
end
;
}
ret
=
IGraphBuilder_AddSourceFilter
(
This
->
GraphBuilder
,
pszFileName
,
pszFileName
,
&
BaseFilter
);
ret
=
IGraphBuilder_AddSourceFilter
(
This
->
pFilterGraph
,
pszFileName
,
pszFileName
,
&
BaseFilter
);
end:
IBaseFilter_Release
(
BaseFilter
);
...
...
@@ -383,7 +378,7 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_Render(IAMMultiMediaStream* iface,
if
(
dwFlags
!=
AMMSF_NOCLOCK
)
return
E_INVALIDARG
;
return
IGraphBuilder_Render
(
This
->
GraphBuilder
,
This
->
ipin
);
return
IGraphBuilder_Render
(
This
->
pFilterGraph
,
This
->
ipin
);
}
static
const
IAMMultiMediaStreamVtbl
AM_Vtbl
=
...
...
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