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
0fddb3f0
Commit
0fddb3f0
authored
Feb 18, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qasf/dmowrapper: Call IMediaObject::Flush() when cleaning up the stream.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c629eb01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
dmowrapper.c
dlls/qasf/dmowrapper.c
+14
-0
No files found.
dlls/qasf/dmowrapper.c
View file @
0fddb3f0
...
...
@@ -358,11 +358,25 @@ static HRESULT dmo_wrapper_query_interface(struct strmbase_filter *iface, REFIID
return
E_NOINTERFACE
;
}
static
HRESULT
dmo_wrapper_cleanup_stream
(
struct
strmbase_filter
*
iface
)
{
struct
dmo_wrapper
*
filter
=
impl_from_strmbase_filter
(
iface
);
IMediaObject
*
dmo
;
IUnknown_QueryInterface
(
filter
->
dmo
,
&
IID_IMediaObject
,
(
void
**
)
&
dmo
);
IMediaObject_Flush
(
dmo
);
IMediaObject_Release
(
dmo
);
return
S_OK
;
}
static
struct
strmbase_filter_ops
filter_ops
=
{
.
filter_get_pin
=
dmo_wrapper_get_pin
,
.
filter_destroy
=
dmo_wrapper_destroy
,
.
filter_query_interface
=
dmo_wrapper_query_interface
,
.
filter_cleanup_stream
=
dmo_wrapper_cleanup_stream
,
};
HRESULT
dmo_wrapper_create
(
IUnknown
*
outer
,
IUnknown
**
out
)
...
...
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