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
444f9b7b
Commit
444f9b7b
authored
Jul 02, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 03, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Rename pfnOnStopStreaming to renderer_stop_stream.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fa5c24e9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
12 deletions
+11
-12
dsoundrender.c
dlls/quartz/dsoundrender.c
+2
-2
videorenderer.c
dlls/quartz/videorenderer.c
+2
-2
vmr9.c
dlls/quartz/vmr9.c
+2
-2
renderer.c
dlls/strmbase/renderer.c
+4
-4
strmbase.h
include/wine/strmbase.h
+1
-2
No files found.
dlls/quartz/dsoundrender.c
View file @
444f9b7b
...
...
@@ -424,7 +424,7 @@ static HRESULT WINAPI DSoundRender_CheckMediaType(BaseRenderer *iface, const AM_
return
S_OK
;
}
static
VOID
WINAPI
DSoundRender_OnStopStreaming
(
BaseRenderer
*
iface
)
static
void
dsound_render_stop_stream
(
BaseRenderer
*
iface
)
{
DSoundRenderImpl
*
This
=
impl_from_BaseRenderer
(
iface
);
...
...
@@ -606,7 +606,7 @@ static const BaseRendererFuncTable BaseFuncTable =
.
pfnCheckMediaType
=
DSoundRender_CheckMediaType
,
.
pfnDoRenderSample
=
DSoundRender_DoRenderSample
,
.
renderer_start_stream
=
dsound_render_start_stream
,
.
pfnOnStopStreaming
=
DSoundRender_OnStopStreaming
,
.
renderer_stop_stream
=
dsound_render_stop_stream
,
.
pfnShouldDrawSampleNow
=
DSoundRender_ShouldDrawSampleNow
,
.
pfnPrepareReceive
=
DSoundRender_PrepareReceive
,
.
pfnCompleteConnect
=
DSoundRender_CompleteConnect
,
...
...
dlls/quartz/videorenderer.c
View file @
444f9b7b
...
...
@@ -405,7 +405,7 @@ static HRESULT video_renderer_query_interface(BaseRenderer *iface, REFIID iid, v
return
S_OK
;
}
static
VOID
WINAPI
VideoRenderer_OnStopStreaming
(
BaseRenderer
*
iface
)
static
void
video_renderer_stop_stream
(
BaseRenderer
*
iface
)
{
VideoRendererImpl
*
This
=
impl_from_BaseRenderer
(
iface
);
...
...
@@ -474,7 +474,7 @@ static const BaseRendererFuncTable BaseFuncTable =
.
pfnCheckMediaType
=
VideoRenderer_CheckMediaType
,
.
pfnDoRenderSample
=
VideoRenderer_DoRenderSample
,
.
renderer_start_stream
=
video_renderer_start_stream
,
.
pfnOnStopStreaming
=
VideoRenderer_OnStopStreaming
,
.
renderer_stop_stream
=
video_renderer_stop_stream
,
.
pfnShouldDrawSampleNow
=
VideoRenderer_ShouldDrawSampleNow
,
.
pfnEndFlush
=
VideoRenderer_EndFlush
,
.
renderer_destroy
=
video_renderer_destroy
,
...
...
dlls/quartz/vmr9.c
View file @
444f9b7b
...
...
@@ -447,7 +447,7 @@ static void vmr_start_stream(BaseRenderer *iface)
GetClientRect
(
This
->
baseControlWindow
.
baseWindow
.
hWnd
,
&
This
->
target_rect
);
}
static
VOID
WINAPI
VMR9_OnStopStreaming
(
BaseRenderer
*
iface
)
static
void
vmr_stop_stream
(
BaseRenderer
*
iface
)
{
struct
quartz_vmr
*
This
=
impl_from_IBaseFilter
(
&
iface
->
filter
.
IBaseFilter_iface
);
...
...
@@ -563,7 +563,7 @@ static const BaseRendererFuncTable BaseFuncTable =
.
pfnCheckMediaType
=
VMR9_CheckMediaType
,
.
pfnDoRenderSample
=
VMR9_DoRenderSample
,
.
renderer_start_stream
=
vmr_start_stream
,
.
pfnOnStopStreaming
=
VMR9_OnStopStreaming
,
.
renderer_stop_stream
=
vmr_stop_stream
,
.
pfnShouldDrawSampleNow
=
VMR9_ShouldDrawSampleNow
,
.
pfnCompleteConnect
=
VMR9_CompleteConnect
,
.
pfnBreakConnect
=
VMR9_BreakConnect
,
...
...
dlls/strmbase/renderer.c
View file @
444f9b7b
...
...
@@ -399,8 +399,8 @@ HRESULT WINAPI BaseRendererImpl_Stop(IBaseFilter * iface)
EnterCriticalSection
(
&
This
->
csRenderLock
);
{
RendererPosPassThru_ResetMediaTime
(
This
->
pPosition
);
if
(
This
->
pFuncsTable
->
pfnOnStopStreaming
)
This
->
pFuncsTable
->
pfnOnStopStreaming
(
This
);
if
(
This
->
pFuncsTable
->
renderer_stop_stream
)
This
->
pFuncsTable
->
renderer_stop_stream
(
This
);
This
->
filter
.
state
=
State_Stopped
;
SetEvent
(
This
->
state_event
);
SetEvent
(
This
->
flush_event
);
...
...
@@ -469,8 +469,8 @@ HRESULT WINAPI BaseRendererImpl_Pause(IBaseFilter * iface)
ResetEvent
(
This
->
state_event
);
This
->
sink
.
end_of_stream
=
FALSE
;
}
else
if
(
This
->
pFuncsTable
->
pfnOnStopStreaming
)
This
->
pFuncsTable
->
pfnOnStopStreaming
(
This
);
else
if
(
This
->
pFuncsTable
->
renderer_stop_stream
)
This
->
pFuncsTable
->
renderer_stop_stream
(
This
);
if
(
This
->
filter
.
state
==
State_Stopped
)
BaseRendererImpl_ClearPendingSample
(
This
);
...
...
include/wine/strmbase.h
View file @
444f9b7b
...
...
@@ -562,7 +562,6 @@ typedef HRESULT (WINAPI *BaseRenderer_DoRenderSample)(BaseRenderer *This, IMedia
typedef
VOID
(
WINAPI
*
BaseRenderer_OnReceiveFirstSample
)(
BaseRenderer
*
This
,
IMediaSample
*
pMediaSample
);
typedef
VOID
(
WINAPI
*
BaseRenderer_OnRenderEnd
)(
BaseRenderer
*
This
,
IMediaSample
*
pMediaSample
);
typedef
VOID
(
WINAPI
*
BaseRenderer_OnRenderStart
)(
BaseRenderer
*
This
,
IMediaSample
*
pMediaSample
);
typedef
VOID
(
WINAPI
*
BaseRenderer_OnStopStreaming
)(
BaseRenderer
*
This
);
typedef
VOID
(
WINAPI
*
BaseRenderer_OnWaitEnd
)(
BaseRenderer
*
This
);
typedef
VOID
(
WINAPI
*
BaseRenderer_OnWaitStart
)(
BaseRenderer
*
This
);
typedef
VOID
(
WINAPI
*
BaseRenderer_PrepareRender
)(
BaseRenderer
*
This
);
...
...
@@ -578,7 +577,7 @@ typedef struct BaseRendererFuncTable {
BaseRenderer_CheckMediaType
pfnCheckMediaType
;
BaseRenderer_DoRenderSample
pfnDoRenderSample
;
void
(
*
renderer_start_stream
)(
BaseRenderer
*
iface
);
BaseRenderer_OnStopStreaming
pfnOnStopStreaming
;
void
(
*
renderer_stop_stream
)(
BaseRenderer
*
iface
)
;
BaseRenderer_ShouldDrawSampleNow
pfnShouldDrawSampleNow
;
BaseRenderer_PrepareReceive
pfnPrepareReceive
;
BaseRenderer_CompleteConnect
pfnCompleteConnect
;
...
...
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