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
819643ad
Commit
819643ad
authored
May 14, 2011
by
Erich Hoover
Committed by
Alexandre Julliard
May 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Return IMediaSeeking interface for Parser PullPin.
parent
7a405fa9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
parser.c
dlls/quartz/parser.c
+26
-1
No files found.
dlls/quartz/parser.c
View file @
819643ad
...
...
@@ -702,6 +702,31 @@ static const IPinVtbl Parser_OutputPin_Vtbl =
BasePinImpl_NewSegment
};
static
HRESULT
WINAPI
Parser_PullPin_QueryInterface
(
IPin
*
iface
,
REFIID
riid
,
LPVOID
*
ppv
)
{
PullPin
*
This
=
(
PullPin
*
)
iface
;
TRACE
(
"(%p/%p)->(%s, %p)
\n
"
,
This
,
iface
,
qzdebugstr_guid
(
riid
),
ppv
);
*
ppv
=
NULL
;
/*
* It is important to capture the request for the IMediaSeeking interface before it is passed
* on to PullPin_QueryInterface, this is necessary since the Parser filter does not support
* querying IMediaSeeking
*/
if
(
IsEqualIID
(
riid
,
&
IID_IMediaSeeking
))
*
ppv
=
&
((
ParserImpl
*
)
This
->
pin
.
pinInfo
.
pFilter
)
->
sourceSeeking
;
if
(
*
ppv
)
{
IUnknown_AddRef
((
IUnknown
*
)(
*
ppv
));
return
S_OK
;
}
return
PullPin_QueryInterface
(
iface
,
riid
,
ppv
);
}
static
HRESULT
WINAPI
Parser_PullPin_Disconnect
(
IPin
*
iface
)
{
HRESULT
hr
;
...
...
@@ -770,7 +795,7 @@ static HRESULT WINAPI Parser_PullPin_EnumMediaTypes(IPin *iface, IEnumMediaTypes
static
const
IPinVtbl
Parser_InputPin_Vtbl
=
{
PullPin_QueryInterface
,
P
arser_P
ullPin_QueryInterface
,
BasePinImpl_AddRef
,
PullPin_Release
,
BaseInputPinImpl_Connect
,
...
...
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