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
25c3bf9c
Commit
25c3bf9c
authored
May 18, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
May 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase/transform: Don't expose IMediaSeeking from the filter.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ba8023e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
7 deletions
+26
-7
acmwrapper.c
dlls/quartz/tests/acmwrapper.c
+2
-2
avidec.c
dlls/quartz/tests/avidec.c
+2
-2
transform.c
dlls/strmbase/transform.c
+22
-3
No files found.
dlls/quartz/tests/acmwrapper.c
View file @
25c3bf9c
...
...
@@ -74,7 +74,7 @@ static void test_interfaces(void)
check_interface
(
filter
,
&
IID_IBasicVideo
,
FALSE
);
check_interface
(
filter
,
&
IID_IKsPropertySet
,
FALSE
);
todo_wine
check_interface
(
filter
,
&
IID_IMediaPosition
,
FALSE
);
todo_wine
check_interface
(
filter
,
&
IID_IMediaSeeking
,
FALSE
);
check_interface
(
filter
,
&
IID_IMediaSeeking
,
FALSE
);
check_interface
(
filter
,
&
IID_IPin
,
FALSE
);
todo_wine
check_interface
(
filter
,
&
IID_IQualityControl
,
FALSE
);
check_interface
(
filter
,
&
IID_IQualProp
,
FALSE
);
...
...
@@ -89,7 +89,7 @@ static void test_interfaces(void)
check_interface
(
pin
,
&
IID_IUnknown
,
TRUE
);
check_interface
(
pin
,
&
IID_IMediaPosition
,
FALSE
);
todo_wine
check_interface
(
pin
,
&
IID_IMediaSeeking
,
FALSE
);
check_interface
(
pin
,
&
IID_IMediaSeeking
,
FALSE
);
IPin_Release
(
pin
);
...
...
dlls/quartz/tests/avidec.c
View file @
25c3bf9c
...
...
@@ -98,7 +98,7 @@ static void test_interfaces(void)
check_interface
(
filter
,
&
IID_IBasicVideo
,
FALSE
);
check_interface
(
filter
,
&
IID_IKsPropertySet
,
FALSE
);
todo_wine
check_interface
(
filter
,
&
IID_IMediaPosition
,
FALSE
);
todo_wine
check_interface
(
filter
,
&
IID_IMediaSeeking
,
FALSE
);
check_interface
(
filter
,
&
IID_IMediaSeeking
,
FALSE
);
check_interface
(
filter
,
&
IID_IPersistPropertyBag
,
FALSE
);
check_interface
(
filter
,
&
IID_IPin
,
FALSE
);
todo_wine
check_interface
(
filter
,
&
IID_IQualityControl
,
FALSE
);
...
...
@@ -114,7 +114,7 @@ static void test_interfaces(void)
check_interface
(
pin
,
&
IID_IUnknown
,
TRUE
);
check_interface
(
pin
,
&
IID_IMediaPosition
,
FALSE
);
todo_wine
check_interface
(
pin
,
&
IID_IMediaSeeking
,
FALSE
);
check_interface
(
pin
,
&
IID_IMediaSeeking
,
FALSE
);
IPin_Release
(
pin
);
...
...
dlls/strmbase/transform.c
View file @
25c3bf9c
...
...
@@ -172,8 +172,7 @@ static HRESULT WINAPI TransformFilterImpl_QueryInterface(IBaseFilter * iface, RE
IUnknown_AddRef
((
IUnknown
*
)
*
ppv
);
return
S_OK
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaSeeking
)
||
IsEqualIID
(
riid
,
&
IID_IMediaPosition
))
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaPosition
))
{
return
IUnknown_QueryInterface
(
This
->
seekthru_unk
,
riid
,
ppv
);
}
...
...
@@ -558,9 +557,29 @@ static const IPinVtbl TransformFilter_InputPin_Vtbl =
TransformFilter_InputPin_NewSegment
};
static
HRESULT
WINAPI
transform_source_QueryInterface
(
IPin
*
iface
,
REFIID
iid
,
void
**
out
)
{
TransformFilter
*
filter
=
impl_from_IBaseFilter
(
impl_BaseOutputPin_from_IPin
(
iface
)
->
pin
.
pinInfo
.
pFilter
);
if
(
IsEqualGUID
(
iid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
iid
,
&
IID_IPin
))
*
out
=
iface
;
else
if
(
IsEqualGUID
(
iid
,
&
IID_IQualityControl
))
*
out
=
&
filter
->
qcimpl
->
IQualityControl_iface
;
else
if
(
IsEqualGUID
(
iid
,
&
IID_IMediaSeeking
))
return
IUnknown_QueryInterface
(
filter
->
seekthru_unk
,
iid
,
out
);
else
{
WARN
(
"%s not implemented, returning E_NOINTERFACE.
\n
"
,
debugstr_guid
(
iid
));
*
out
=
NULL
;
return
E_NOINTERFACE
;
}
IUnknown_AddRef
((
IUnknown
*
)
*
out
);
return
S_OK
;
}
static
const
IPinVtbl
TransformFilter_OutputPin_Vtbl
=
{
BaseOutputPinImpl
_QueryInterface
,
transform_source
_QueryInterface
,
BasePinImpl_AddRef
,
BaseOutputPinImpl_Release
,
BaseOutputPinImpl_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