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
25469b5a
Commit
25469b5a
authored
May 10, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Jun 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Keep a reference on the media source start descriptor.
parent
b9293a3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
media_source.c
dlls/winegstreamer/media_source.c
+4
-0
No files found.
dlls/winegstreamer/media_source.c
View file @
25469b5a
...
...
@@ -174,7 +174,10 @@ static ULONG WINAPI source_async_command_Release(IUnknown *iface)
if
(
!
refcount
)
{
if
(
command
->
op
==
SOURCE_ASYNC_START
)
{
IMFPresentationDescriptor_Release
(
command
->
u
.
start
.
descriptor
);
PropVariantClear
(
&
command
->
u
.
start
.
position
);
}
else
if
(
command
->
op
==
SOURCE_ASYNC_REQUEST_SAMPLE
)
{
if
(
command
->
u
.
request_sample
.
token
)
...
...
@@ -1376,6 +1379,7 @@ static HRESULT WINAPI media_source_Start(IMFMediaSource *iface, IMFPresentationD
{
struct
source_async_command
*
command
=
impl_from_async_command_IUnknown
(
op
);
command
->
u
.
start
.
descriptor
=
descriptor
;
IMFPresentationDescriptor_AddRef
(
descriptor
);
command
->
u
.
start
.
format
=
*
time_format
;
PropVariantCopy
(
&
command
->
u
.
start
.
position
,
position
);
...
...
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