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
4a25010c
Commit
4a25010c
authored
Mar 14, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Mar 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Use 'Source' filter name for file source filter as in native.
parent
68237905
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
amstream.c
dlls/amstream/amstream.c
+3
-2
No files found.
dlls/amstream/amstream.c
View file @
4a25010c
/*
* Implementation of IAMMultiMediaStream Interface
*
* Copyright 2004 Christian Costa
* Copyright 2004
, 2012
Christian Costa
* Copyright 2006 Ivan Leo Puoti
*
* This library is free software; you can redistribute it and/or
...
...
@@ -309,6 +309,7 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_OpenFile(IAMMultiMediaStream* ifac
IEnumPins
*
EnumPins
=
NULL
;
IPin
*
ipin
;
PIN_DIRECTION
pin_direction
;
const
WCHAR
sourceW
[]
=
{
'S'
,
'o'
,
'u'
,
'r'
,
'c'
,
'e'
,
0
};
TRACE
(
"(%p/%p)->(%s,%x)
\n
"
,
This
,
iface
,
debugstr_w
(
pszFileName
),
dwFlags
);
...
...
@@ -317,7 +318,7 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_OpenFile(IAMMultiMediaStream* ifac
ret
=
IAMMultiMediaStream_Initialize
(
iface
,
STREAMTYPE_READ
,
0
,
NULL
);
if
(
SUCCEEDED
(
ret
))
ret
=
IGraphBuilder_AddSourceFilter
(
This
->
pFilterGraph
,
pszFileName
,
pszFileName
,
&
BaseFilter
);
ret
=
IGraphBuilder_AddSourceFilter
(
This
->
pFilterGraph
,
pszFileName
,
sourceW
,
&
BaseFilter
);
if
(
SUCCEEDED
(
ret
))
ret
=
IBaseFilter_EnumPins
(
BaseFilter
,
&
EnumPins
);
...
...
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