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
ac10f3de
Commit
ac10f3de
authored
Jul 01, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Remove unused "ThreadSignal" event.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bf891f34
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
9 deletions
+0
-9
dsoundrender.c
dlls/quartz/dsoundrender.c
+0
-1
renderer.c
dlls/strmbase/renderer.c
+0
-7
strmbase.h
include/wine/strmbase.h
+0
-1
No files found.
dlls/quartz/dsoundrender.c
View file @
ac10f3de
...
@@ -738,7 +738,6 @@ static HRESULT WINAPI DSoundRender_Pause(IBaseFilter * iface)
...
@@ -738,7 +738,6 @@ static HRESULT WINAPI DSoundRender_Pause(IBaseFilter * iface)
ResetEvent
(
This
->
blocked
);
ResetEvent
(
This
->
blocked
);
ResetEvent
(
This
->
renderer
.
RenderEvent
);
ResetEvent
(
This
->
renderer
.
RenderEvent
);
}
}
ResetEvent
(
This
->
renderer
.
ThreadSignal
);
LeaveCriticalSection
(
&
This
->
renderer
.
csRenderLock
);
LeaveCriticalSection
(
&
This
->
renderer
.
csRenderLock
);
return
hr
;
return
hr
;
...
...
dlls/strmbase/renderer.c
View file @
ac10f3de
...
@@ -267,7 +267,6 @@ HRESULT WINAPI strmbase_renderer_init(BaseRenderer *filter, const IBaseFilterVtb
...
@@ -267,7 +267,6 @@ HRESULT WINAPI strmbase_renderer_init(BaseRenderer *filter, const IBaseFilterVtb
InitializeCriticalSection
(
&
filter
->
csRenderLock
);
InitializeCriticalSection
(
&
filter
->
csRenderLock
);
filter
->
csRenderLock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": BaseRenderer.csRenderLock"
);
filter
->
csRenderLock
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": BaseRenderer.csRenderLock"
);
filter
->
evComplete
=
CreateEventW
(
NULL
,
TRUE
,
TRUE
,
NULL
);
filter
->
evComplete
=
CreateEventW
(
NULL
,
TRUE
,
TRUE
,
NULL
);
filter
->
ThreadSignal
=
CreateEventW
(
NULL
,
TRUE
,
TRUE
,
NULL
);
filter
->
RenderEvent
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
filter
->
RenderEvent
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
filter
->
pMediaSample
=
NULL
;
filter
->
pMediaSample
=
NULL
;
...
@@ -292,7 +291,6 @@ void strmbase_renderer_cleanup(BaseRenderer *filter)
...
@@ -292,7 +291,6 @@ void strmbase_renderer_cleanup(BaseRenderer *filter)
BaseRendererImpl_ClearPendingSample
(
filter
);
BaseRendererImpl_ClearPendingSample
(
filter
);
CloseHandle
(
filter
->
evComplete
);
CloseHandle
(
filter
->
evComplete
);
CloseHandle
(
filter
->
ThreadSignal
);
CloseHandle
(
filter
->
RenderEvent
);
CloseHandle
(
filter
->
RenderEvent
);
QualityControlImpl_Destroy
(
filter
->
qcimpl
);
QualityControlImpl_Destroy
(
filter
->
qcimpl
);
strmbase_filter_cleanup
(
&
filter
->
filter
);
strmbase_filter_cleanup
(
&
filter
->
filter
);
...
@@ -404,7 +402,6 @@ HRESULT WINAPI BaseRendererImpl_Stop(IBaseFilter * iface)
...
@@ -404,7 +402,6 @@ HRESULT WINAPI BaseRendererImpl_Stop(IBaseFilter * iface)
This
->
pFuncsTable
->
pfnOnStopStreaming
(
This
);
This
->
pFuncsTable
->
pfnOnStopStreaming
(
This
);
This
->
filter
.
state
=
State_Stopped
;
This
->
filter
.
state
=
State_Stopped
;
SetEvent
(
This
->
evComplete
);
SetEvent
(
This
->
evComplete
);
SetEvent
(
This
->
ThreadSignal
);
SetEvent
(
This
->
RenderEvent
);
SetEvent
(
This
->
RenderEvent
);
}
}
LeaveCriticalSection
(
&
This
->
csRenderLock
);
LeaveCriticalSection
(
&
This
->
csRenderLock
);
...
@@ -424,7 +421,6 @@ HRESULT WINAPI BaseRendererImpl_Run(IBaseFilter * iface, REFERENCE_TIME tStart)
...
@@ -424,7 +421,6 @@ HRESULT WINAPI BaseRendererImpl_Run(IBaseFilter * iface, REFERENCE_TIME tStart)
goto
out
;
goto
out
;
SetEvent
(
This
->
evComplete
);
SetEvent
(
This
->
evComplete
);
ResetEvent
(
This
->
ThreadSignal
);
if
(
This
->
sink
.
pin
.
pConnectedTo
)
if
(
This
->
sink
.
pin
.
pConnectedTo
)
{
{
...
@@ -482,7 +478,6 @@ HRESULT WINAPI BaseRendererImpl_Pause(IBaseFilter * iface)
...
@@ -482,7 +478,6 @@ HRESULT WINAPI BaseRendererImpl_Pause(IBaseFilter * iface)
This
->
filter
.
state
=
State_Paused
;
This
->
filter
.
state
=
State_Paused
;
}
}
}
}
ResetEvent
(
This
->
ThreadSignal
);
LeaveCriticalSection
(
&
This
->
csRenderLock
);
LeaveCriticalSection
(
&
This
->
csRenderLock
);
return
S_OK
;
return
S_OK
;
...
@@ -545,7 +540,6 @@ HRESULT WINAPI BaseRendererImpl_BeginFlush(BaseRenderer* iface)
...
@@ -545,7 +540,6 @@ HRESULT WINAPI BaseRendererImpl_BeginFlush(BaseRenderer* iface)
{
{
TRACE
(
"(%p)
\n
"
,
iface
);
TRACE
(
"(%p)
\n
"
,
iface
);
BaseRendererImpl_ClearPendingSample
(
iface
);
BaseRendererImpl_ClearPendingSample
(
iface
);
SetEvent
(
iface
->
ThreadSignal
);
SetEvent
(
iface
->
RenderEvent
);
SetEvent
(
iface
->
RenderEvent
);
return
S_OK
;
return
S_OK
;
}
}
...
@@ -555,7 +549,6 @@ HRESULT WINAPI BaseRendererImpl_EndFlush(BaseRenderer* iface)
...
@@ -555,7 +549,6 @@ HRESULT WINAPI BaseRendererImpl_EndFlush(BaseRenderer* iface)
TRACE
(
"(%p)
\n
"
,
iface
);
TRACE
(
"(%p)
\n
"
,
iface
);
QualityControlRender_Start
(
iface
->
qcimpl
,
iface
->
filter
.
rtStreamStart
);
QualityControlRender_Start
(
iface
->
qcimpl
,
iface
->
filter
.
rtStreamStart
);
RendererPosPassThru_ResetMediaTime
(
iface
->
pPosition
);
RendererPosPassThru_ResetMediaTime
(
iface
->
pPosition
);
ResetEvent
(
iface
->
ThreadSignal
);
ResetEvent
(
iface
->
RenderEvent
);
ResetEvent
(
iface
->
RenderEvent
);
return
S_OK
;
return
S_OK
;
}
}
...
...
include/wine/strmbase.h
View file @
ac10f3de
...
@@ -541,7 +541,6 @@ typedef struct BaseRendererTag
...
@@ -541,7 +541,6 @@ typedef struct BaseRendererTag
IUnknown
*
pPosition
;
IUnknown
*
pPosition
;
CRITICAL_SECTION
csRenderLock
;
CRITICAL_SECTION
csRenderLock
;
HANDLE
evComplete
;
HANDLE
evComplete
;
HANDLE
ThreadSignal
;
HANDLE
RenderEvent
;
HANDLE
RenderEvent
;
IMediaSample
*
pMediaSample
;
IMediaSample
*
pMediaSample
;
...
...
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