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
f8cf88dc
Commit
f8cf88dc
authored
Aug 03, 2023
by
Santino Mazza
Committed by
Alexandre Julliard
Aug 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evr: Remove process input handling from streaming thread.
parent
fa3ebd50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
presenter.c
dlls/evr/presenter.c
+3
-9
No files found.
dlls/evr/presenter.c
View file @
f8cf88dc
...
...
@@ -55,7 +55,6 @@ enum streaming_thread_message
{
EVRM_STOP
=
WM_USER
,
EVRM_PRESENT
=
WM_USER
+
1
,
EVRM_PROCESS_INPUT
=
WM_USER
+
2
,
};
struct
sample_queue
...
...
@@ -706,11 +705,6 @@ static DWORD CALLBACK video_presenter_streaming_thread(void *arg)
}
break
;
case
EVRM_PROCESS_INPUT
:
EnterCriticalSection
(
&
presenter
->
cs
);
video_presenter_process_input
(
presenter
);
LeaveCriticalSection
(
&
presenter
->
cs
);
break
;
default:
;
}
...
...
@@ -1811,9 +1805,9 @@ static HRESULT WINAPI video_presenter_allocator_cb_NotifyRelease(IMFVideoSampleA
{
struct
video_presenter
*
presenter
=
impl_from_IMFVideoSampleAllocatorNotify
(
iface
);
/* Release notification is executed under allocator lock, instead of processing samples here
notify streaming thread. */
PostThreadMessageW
(
presenter
->
thread
.
tid
,
EVRM_PROCESS_INPUT
,
0
,
0
);
EnterCriticalSection
(
&
presenter
->
cs
);
video_presenter_process_input
(
presenter
);
LeaveCriticalSection
(
&
presenter
->
cs
);
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