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
540f2983
Commit
540f2983
authored
Feb 19, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Decommit the source allocator when cleaning up the stream.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6187ee13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
gstdemux.c
dlls/winegstreamer/gstdemux.c
+7
-0
No files found.
dlls/winegstreamer/gstdemux.c
View file @
540f2983
...
...
@@ -1455,6 +1455,7 @@ static HRESULT gstdemux_cleanup_stream(struct strmbase_filter *iface)
{
struct
gstdemux
*
filter
=
impl_from_strmbase_filter
(
iface
);
GstStateChangeReturn
ret
;
unsigned
int
i
;
if
(
!
filter
->
container
)
return
S_OK
;
...
...
@@ -1468,6 +1469,12 @@ static HRESULT gstdemux_cleanup_stream(struct strmbase_filter *iface)
gst_element_get_state
(
filter
->
container
,
NULL
,
NULL
,
GST_CLOCK_TIME_NONE
);
filter
->
ignore_flush
=
FALSE
;
for
(
i
=
0
;
i
<
filter
->
source_count
;
++
i
)
{
if
(
filter
->
sources
[
i
]
->
pin
.
pin
.
peer
)
IMemAllocator_Decommit
(
filter
->
sources
[
i
]
->
pin
.
pAllocator
);
}
return
S_OK
;
}
...
...
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