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
70d2ba74
Commit
70d2ba74
authored
Nov 16, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Get rid of the unused "cs" parameter to strmbase_video_init().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3915b8d2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
8 deletions
+4
-8
videorenderer.c
dlls/quartz/videorenderer.c
+1
-2
vmr9.c
dlls/quartz/vmr9.c
+1
-2
video.c
dlls/strmbase/video.c
+1
-2
strmbase.h
include/wine/strmbase.h
+1
-2
No files found.
dlls/quartz/videorenderer.c
View file @
70d2ba74
...
...
@@ -771,8 +771,7 @@ HRESULT VideoRenderer_create(IUnknown *outer, void **out)
if
(
FAILED
(
hr
))
goto
fail
;
hr
=
strmbase_video_init
(
&
pVideoRenderer
->
baseControlVideo
,
&
pVideoRenderer
->
renderer
.
filter
,
&
pVideoRenderer
->
renderer
.
filter
.
csFilter
,
hr
=
strmbase_video_init
(
&
pVideoRenderer
->
baseControlVideo
,
&
pVideoRenderer
->
renderer
.
filter
,
&
pVideoRenderer
->
renderer
.
sink
.
pin
,
&
renderer_BaseControlVideoFuncTable
);
if
(
FAILED
(
hr
))
goto
fail
;
...
...
dlls/quartz/vmr9.c
View file @
70d2ba74
...
...
@@ -2239,8 +2239,7 @@ static HRESULT vmr_create(IUnknown *outer, void **out, const CLSID *clsid)
goto
fail
;
hr
=
strmbase_video_init
(
&
pVMR
->
baseControlVideo
,
&
pVMR
->
renderer
.
filter
,
&
pVMR
->
renderer
.
filter
.
csFilter
,
&
pVMR
->
renderer
.
sink
.
pin
,
&
renderer_BaseControlVideoFuncTable
);
&
pVMR
->
renderer
.
sink
.
pin
,
&
renderer_BaseControlVideoFuncTable
);
if
(
FAILED
(
hr
))
goto
fail
;
...
...
dlls/strmbase/video.c
View file @
70d2ba74
...
...
@@ -648,11 +648,10 @@ static const IBasicVideoVtbl basic_video_vtbl =
};
HRESULT
WINAPI
strmbase_video_init
(
BaseControlVideo
*
video
,
struct
strmbase_filter
*
filter
,
CRITICAL_SECTION
*
cs
,
struct
strmbase_pin
*
pin
,
const
BaseControlVideoFuncTable
*
func_table
)
struct
strmbase_pin
*
pin
,
const
BaseControlVideoFuncTable
*
func_table
)
{
video
->
IBasicVideo_iface
.
lpVtbl
=
&
basic_video_vtbl
;
video
->
pFilter
=
filter
;
video
->
pInterfaceLock
=
cs
;
video
->
pPin
=
pin
;
video
->
pFuncsTable
=
func_table
;
...
...
include/wine/strmbase.h
View file @
70d2ba74
...
...
@@ -477,7 +477,6 @@ typedef struct tagBaseControlVideo
IBasicVideo
IBasicVideo_iface
;
struct
strmbase_filter
*
pFilter
;
CRITICAL_SECTION
*
pInterfaceLock
;
struct
strmbase_pin
*
pPin
;
const
struct
BaseControlVideoFuncTable
*
pFuncsTable
;
...
...
@@ -509,7 +508,7 @@ typedef struct BaseControlVideoFuncTable {
}
BaseControlVideoFuncTable
;
HRESULT
WINAPI
strmbase_video_init
(
BaseControlVideo
*
video
,
struct
strmbase_filter
*
filter
,
CRITICAL_SECTION
*
cs
,
struct
strmbase_pin
*
pin
,
const
BaseControlVideoFuncTable
*
func_table
);
struct
strmbase_pin
*
pin
,
const
BaseControlVideoFuncTable
*
func_table
);
HRESULT
WINAPI
BaseControlVideo_Destroy
(
BaseControlVideo
*
pControlVideo
);
#endif
#endif
...
...
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