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
4992fddc
Commit
4992fddc
authored
May 06, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/evr: Post sink marker events.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9d307bb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
evr.c
dlls/mf/evr.c
+3
-2
No files found.
dlls/mf/evr.c
View file @
4992fddc
...
...
@@ -439,12 +439,12 @@ static void video_stream_end_of_stream(struct video_stream *stream)
}
static
HRESULT
WINAPI
video_stream_sink_PlaceMarker
(
IMFStreamSink
*
iface
,
MFSTREAMSINK_MARKER_TYPE
marker_type
,
const
PROPVARIANT
*
marker_value
,
const
PROPVARIANT
*
context
_value
)
const
PROPVARIANT
*
marker_value
,
const
PROPVARIANT
*
context
)
{
struct
video_stream
*
stream
=
impl_from_IMFStreamSink
(
iface
);
HRESULT
hr
=
S_OK
;
TRACE
(
"%p, %d, %p, %p.
\n
"
,
iface
,
marker_type
,
marker_value
,
context
_value
);
TRACE
(
"%p, %d, %p, %p.
\n
"
,
iface
,
marker_type
,
marker_value
,
context
);
EnterCriticalSection
(
&
stream
->
cs
);
if
(
!
stream
->
parent
)
...
...
@@ -453,6 +453,7 @@ static HRESULT WINAPI video_stream_sink_PlaceMarker(IMFStreamSink *iface, MFSTRE
{
if
(
marker_type
==
MFSTREAMSINK_MARKER_ENDOFSEGMENT
)
video_stream_end_of_stream
(
stream
);
IMFMediaEventQueue_QueueEventParamVar
(
stream
->
event_queue
,
MEStreamSinkMarker
,
&
GUID_NULL
,
S_OK
,
context
);
}
LeaveCriticalSection
(
&
stream
->
cs
);
...
...
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