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
079d63e6
Commit
079d63e6
authored
Dec 19, 2017
by
Zebediah Figura
Committed by
Alexandre Julliard
Dec 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Hold a reference to the filter in push_data().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
83c806ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
gstdemux.c
dlls/winegstreamer/gstdemux.c
+5
-0
No files found.
dlls/winegstreamer/gstdemux.c
View file @
079d63e6
...
...
@@ -510,6 +510,8 @@ static DWORD CALLBACK push_data(LPVOID iface)
DWORD_PTR
user
;
HRESULT
hr
;
IBaseFilter_AddRef
(
&
This
->
filter
.
IBaseFilter_iface
);
if
(
!
This
->
stop
)
IAsyncReader_Length
(
This
->
pInputPin
.
pReader
,
&
maxlen
,
&
curlen
);
else
...
...
@@ -589,6 +591,9 @@ static DWORD CALLBACK push_data(LPVOID iface)
}
while
(
buf
);
TRACE
(
"Stopping.. %08x
\n
"
,
hr
);
IBaseFilter_Release
(
&
This
->
filter
.
IBaseFilter_iface
);
return
0
;
}
...
...
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