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
e5c15679
Commit
e5c15679
authored
Apr 14, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qedit/samplegrabber: Don't expose IMediaPosition from the filter.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
83d97ad0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
samplegrabber.c
dlls/qedit/samplegrabber.c
+1
-3
samplegrabber.c
dlls/qedit/tests/samplegrabber.c
+1
-1
No files found.
dlls/qedit/samplegrabber.c
View file @
e5c15679
...
@@ -296,8 +296,6 @@ static HRESULT WINAPI SampleGrabber_QueryInterface(IUnknown *iface, REFIID riid,
...
@@ -296,8 +296,6 @@ static HRESULT WINAPI SampleGrabber_QueryInterface(IUnknown *iface, REFIID riid,
*
ppv
=
&
This
->
filter
.
IBaseFilter_iface
;
*
ppv
=
&
This
->
filter
.
IBaseFilter_iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_ISampleGrabber
))
else
if
(
IsEqualIID
(
riid
,
&
IID_ISampleGrabber
))
*
ppv
=
&
This
->
ISampleGrabber_iface
;
*
ppv
=
&
This
->
ISampleGrabber_iface
;
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaPosition
))
return
IUnknown_QueryInterface
(
This
->
seekthru_unk
,
riid
,
ppv
);
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaSeeking
))
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaSeeking
))
return
IUnknown_QueryInterface
(
This
->
seekthru_unk
,
riid
,
ppv
);
return
IUnknown_QueryInterface
(
This
->
seekthru_unk
,
riid
,
ppv
);
else
else
...
@@ -832,7 +830,7 @@ SampleGrabber_IPin_QueryInterface(IPin *iface, REFIID riid, void **ppv)
...
@@ -832,7 +830,7 @@ SampleGrabber_IPin_QueryInterface(IPin *iface, REFIID riid, void **ppv)
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaSeeking
))
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaSeeking
))
return
IUnknown_QueryInterface
(
&
This
->
sg
->
IUnknown_inner
,
riid
,
ppv
);
return
IUnknown_QueryInterface
(
&
This
->
sg
->
IUnknown_inner
,
riid
,
ppv
);
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaPosition
))
else
if
(
IsEqualIID
(
riid
,
&
IID_IMediaPosition
))
return
IUnknown_QueryInterface
(
&
This
->
sg
->
IUnknown_inner
,
riid
,
ppv
);
return
IUnknown_QueryInterface
(
This
->
sg
->
seekthru_unk
,
riid
,
ppv
);
else
{
else
{
WARN
(
"(%p, %s,%p): not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppv
);
WARN
(
"(%p, %s,%p): not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppv
);
return
E_NOINTERFACE
;
return
E_NOINTERFACE
;
...
...
dlls/qedit/tests/samplegrabber.c
View file @
e5c15679
...
@@ -62,7 +62,7 @@ static void test_interfaces(void)
...
@@ -62,7 +62,7 @@ static void test_interfaces(void)
check_interface
(
filter
,
&
IID_IBasicAudio
,
FALSE
);
check_interface
(
filter
,
&
IID_IBasicAudio
,
FALSE
);
check_interface
(
filter
,
&
IID_IBasicVideo
,
FALSE
);
check_interface
(
filter
,
&
IID_IBasicVideo
,
FALSE
);
check_interface
(
filter
,
&
IID_IKsPropertySet
,
FALSE
);
check_interface
(
filter
,
&
IID_IKsPropertySet
,
FALSE
);
todo_wine
check_interface
(
filter
,
&
IID_IMediaPosition
,
FALSE
);
check_interface
(
filter
,
&
IID_IMediaPosition
,
FALSE
);
todo_wine
check_interface
(
filter
,
&
IID_IMediaSeeking
,
FALSE
);
todo_wine
check_interface
(
filter
,
&
IID_IMediaSeeking
,
FALSE
);
check_interface
(
filter
,
&
IID_IMemInputPin
,
FALSE
);
check_interface
(
filter
,
&
IID_IMemInputPin
,
FALSE
);
check_interface
(
filter
,
&
IID_IPersistPropertyBag
,
FALSE
);
check_interface
(
filter
,
&
IID_IPersistPropertyBag
,
FALSE
);
...
...
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