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
1317102f
Commit
1317102f
authored
Aug 27, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Get rid of the "debug_info" parameter to strmbase_filter_init().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e001daf5
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
23 additions
and
45 deletions
+23
-45
evr.c
dlls/evr/evr.c
+2
-2
audiorecord.c
dlls/qcap/audiorecord.c
+1
-2
avico.c
dlls/qcap/avico.c
+1
-2
avimux.c
dlls/qcap/avimux.c
+1
-2
smartteefilter.c
dlls/qcap/smartteefilter.c
+1
-2
vfwcapture.c
dlls/qcap/vfwcapture.c
+1
-2
nullrenderer.c
dlls/qedit/nullrenderer.c
+1
-2
samplegrabber.c
dlls/qedit/samplegrabber.c
+1
-2
dsoundrender.c
dlls/quartz/dsoundrender.c
+1
-2
filesource.c
dlls/quartz/filesource.c
+1
-2
parser.c
dlls/quartz/parser.c
+1
-2
videorenderer.c
dlls/quartz/videorenderer.c
+1
-2
vmr9.c
dlls/quartz/vmr9.c
+1
-9
filter.c
dlls/strmbase/filter.c
+2
-2
renderer.c
dlls/strmbase/renderer.c
+2
-2
transform.c
dlls/strmbase/transform.c
+1
-2
gstdemux.c
dlls/winegstreamer/gstdemux.c
+1
-2
qtsplitter.c
dlls/wineqtdecoder/qtsplitter.c
+1
-2
strmbase.h
include/wine/strmbase.h
+2
-2
No files found.
dlls/evr/evr.c
View file @
1317102f
...
...
@@ -90,8 +90,8 @@ HRESULT evr_filter_create(IUnknown *outer, void **out)
if
(
!
object
)
return
E_OUTOFMEMORY
;
strmbase_filter_init
(
&
object
->
filter
,
&
basefilter_vtbl
,
outer
,
&
CLSID_EnhancedVideoRenderer
,
(
DWORD_PTR
)(
__FILE__
": EVR.csFilter"
)
,
&
basefilter_functable
);
strmbase_filter_init
(
&
object
->
filter
,
&
basefilter_vtbl
,
outer
,
&
CLSID_EnhancedVideoRenderer
,
&
basefilter_functable
);
*
out
=
&
object
->
filter
.
IUnknown_inner
;
...
...
dlls/qcap/audiorecord.c
View file @
1317102f
...
...
@@ -213,8 +213,7 @@ IUnknown* WINAPI QCAP_createAudioCaptureFilter(IUnknown *outer, HRESULT *phr)
memset
(
This
,
0
,
sizeof
(
*
This
));
This
->
IPersistPropertyBag_iface
.
lpVtbl
=
&
PersistPropertyBagVtbl
;
strmbase_filter_init
(
&
This
->
filter
,
&
AudioRecordVtbl
,
outer
,
&
CLSID_AudioRecord
,
(
DWORD_PTR
)(
__FILE__
": AudioRecord.csFilter"
),
&
AudioRecordFuncs
);
strmbase_filter_init
(
&
This
->
filter
,
&
AudioRecordVtbl
,
outer
,
&
CLSID_AudioRecord
,
&
AudioRecordFuncs
);
*
phr
=
S_OK
;
return
&
This
->
filter
.
IUnknown_inner
;
...
...
dlls/qcap/avico.c
View file @
1317102f
...
...
@@ -600,8 +600,7 @@ IUnknown* WINAPI QCAP_createAVICompressor(IUnknown *outer, HRESULT *phr)
return
NULL
;
}
strmbase_filter_init
(
&
compressor
->
filter
,
&
AVICompressorVtbl
,
outer
,
&
CLSID_AVICo
,
(
DWORD_PTR
)(
__FILE__
": AVICompressor.csFilter"
),
&
filter_func_table
);
strmbase_filter_init
(
&
compressor
->
filter
,
&
AVICompressorVtbl
,
outer
,
&
CLSID_AVICo
,
&
filter_func_table
);
compressor
->
IPersistPropertyBag_iface
.
lpVtbl
=
&
PersistPropertyBagVtbl
;
...
...
dlls/qcap/avimux.c
View file @
1317102f
...
...
@@ -2251,8 +2251,7 @@ IUnknown * WINAPI QCAP_createAVIMux(IUnknown *outer, HRESULT *phr)
return
NULL
;
}
strmbase_filter_init
(
&
avimux
->
filter
,
&
AviMuxVtbl
,
outer
,
&
CLSID_AviDest
,
(
DWORD_PTR
)(
__FILE__
": AviMux.csFilter"
),
&
filter_func_table
);
strmbase_filter_init
(
&
avimux
->
filter
,
&
AviMuxVtbl
,
outer
,
&
CLSID_AviDest
,
&
filter_func_table
);
avimux
->
IConfigAviMux_iface
.
lpVtbl
=
&
ConfigAviMuxVtbl
;
avimux
->
IConfigInterleaving_iface
.
lpVtbl
=
&
ConfigInterleavingVtbl
;
avimux
->
IMediaSeeking_iface
.
lpVtbl
=
&
MediaSeekingVtbl
;
...
...
dlls/qcap/smartteefilter.c
View file @
1317102f
...
...
@@ -483,8 +483,7 @@ IUnknown* WINAPI QCAP_createSmartTeeFilter(IUnknown *outer, HRESULT *phr)
}
memset
(
This
,
0
,
sizeof
(
*
This
));
strmbase_filter_init
(
&
This
->
filter
,
&
SmartTeeFilterVtbl
,
outer
,
&
CLSID_SmartTee
,
(
DWORD_PTR
)(
__FILE__
": SmartTeeFilter.csFilter"
),
&
SmartTeeFilterFuncs
);
strmbase_filter_init
(
&
This
->
filter
,
&
SmartTeeFilterVtbl
,
outer
,
&
CLSID_SmartTee
,
&
SmartTeeFilterFuncs
);
inputPinInfo
.
pFilter
=
&
This
->
filter
.
IBaseFilter_iface
;
strmbase_sink_init
(
&
This
->
sink
,
&
SmartTeeFilterInputVtbl
,
&
inputPinInfo
,
...
...
dlls/qcap/vfwcapture.c
View file @
1317102f
...
...
@@ -642,8 +642,7 @@ IUnknown * WINAPI QCAP_createVFWCaptureFilter(IUnknown *outer, HRESULT *phr)
return
NULL
;
}
strmbase_filter_init
(
&
object
->
filter
,
&
VfwCapture_Vtbl
,
outer
,
&
CLSID_VfwCapture
,
(
DWORD_PTR
)(
__FILE__
": VfwCapture.csFilter"
),
&
BaseFuncTable
);
strmbase_filter_init
(
&
object
->
filter
,
&
VfwCapture_Vtbl
,
outer
,
&
CLSID_VfwCapture
,
&
BaseFuncTable
);
object
->
IAMStreamConfig_iface
.
lpVtbl
=
&
IAMStreamConfig_VTable
;
object
->
IAMVideoProcAmp_iface
.
lpVtbl
=
&
IAMVideoProcAmp_VTable
;
...
...
dlls/qedit/nullrenderer.c
View file @
1317102f
...
...
@@ -93,8 +93,7 @@ HRESULT NullRenderer_create(IUnknown *outer, void **out)
pNullRenderer
=
CoTaskMemAlloc
(
sizeof
(
NullRendererImpl
));
hr
=
strmbase_renderer_init
(
&
pNullRenderer
->
renderer
,
&
NullRenderer_Vtbl
,
outer
,
&
CLSID_NullRenderer
,
sink_name
,
(
DWORD_PTR
)(
__FILE__
": NullRendererImpl.csFilter"
),
&
RendererFuncTable
);
&
CLSID_NullRenderer
,
sink_name
,
&
RendererFuncTable
);
if
(
FAILED
(
hr
))
CoTaskMemFree
(
pNullRenderer
);
...
...
dlls/qedit/samplegrabber.c
View file @
1317102f
...
...
@@ -1154,8 +1154,7 @@ HRESULT SampleGrabber_create(IUnknown *outer, void **out)
}
ZeroMemory
(
obj
,
sizeof
(
SG_Impl
));
strmbase_filter_init
(
&
obj
->
filter
,
&
IBaseFilter_VTable
,
outer
,
&
CLSID_SampleGrabber
,
(
DWORD_PTR
)(
__FILE__
": SG_Impl.csFilter"
),
&
basefunc_vtbl
);
strmbase_filter_init
(
&
obj
->
filter
,
&
IBaseFilter_VTable
,
outer
,
&
CLSID_SampleGrabber
,
&
basefunc_vtbl
);
obj
->
ISampleGrabber_iface
.
lpVtbl
=
&
ISampleGrabber_VTable
;
obj
->
IMemInputPin_iface
.
lpVtbl
=
&
IMemInputPin_VTable
;
obj
->
pin_in
.
IPin_iface
.
lpVtbl
=
&
IPin_In_VTable
;
...
...
dlls/quartz/dsoundrender.c
View file @
1317102f
...
...
@@ -629,8 +629,7 @@ HRESULT DSoundRender_create(IUnknown *outer, void **out)
ZeroMemory
(
pDSoundRender
,
sizeof
(
DSoundRenderImpl
));
hr
=
strmbase_renderer_init
(
&
pDSoundRender
->
renderer
,
&
DSoundRender_Vtbl
,
outer
,
&
CLSID_DSoundRender
,
sink_name
,
(
DWORD_PTR
)(
__FILE__
": DSoundRenderImpl.csFilter"
),
&
BaseFuncTable
);
outer
,
&
CLSID_DSoundRender
,
sink_name
,
&
BaseFuncTable
);
pDSoundRender
->
IBasicAudio_iface
.
lpVtbl
=
&
IBasicAudio_Vtbl
;
pDSoundRender
->
IReferenceClock_iface
.
lpVtbl
=
&
IReferenceClock_Vtbl
;
...
...
dlls/quartz/filesource.c
View file @
1317102f
...
...
@@ -409,8 +409,7 @@ HRESULT AsyncReader_create(IUnknown *outer, void **out)
if
(
!
pAsyncRead
)
return
E_OUTOFMEMORY
;
strmbase_filter_init
(
&
pAsyncRead
->
filter
,
&
AsyncReader_Vtbl
,
outer
,
&
CLSID_AsyncReader
,
(
DWORD_PTR
)(
__FILE__
": AsyncReader.csFilter"
),
&
BaseFuncTable
);
strmbase_filter_init
(
&
pAsyncRead
->
filter
,
&
AsyncReader_Vtbl
,
outer
,
&
CLSID_AsyncReader
,
&
BaseFuncTable
);
pAsyncRead
->
IFileSourceFilter_iface
.
lpVtbl
=
&
FileSource_Vtbl
;
...
...
dlls/quartz/parser.c
View file @
1317102f
...
...
@@ -82,8 +82,7 @@ HRESULT Parser_Create(ParserImpl *pParser, const IBaseFilterVtbl *vtbl, IUnknown
HRESULT
hr
;
PIN_INFO
piInput
;
strmbase_filter_init
(
&
pParser
->
filter
,
vtbl
,
outer
,
clsid
,
(
DWORD_PTR
)(
__FILE__
": ParserImpl.csFilter"
),
func_table
);
strmbase_filter_init
(
&
pParser
->
filter
,
vtbl
,
outer
,
clsid
,
func_table
);
pParser
->
fnDisconnect
=
fnDisconnect
;
...
...
dlls/quartz/videorenderer.c
View file @
1317102f
...
...
@@ -801,8 +801,7 @@ HRESULT VideoRenderer_create(IUnknown *outer, void **out)
pVideoRenderer
->
FullScreenMode
=
OAFALSE
;
hr
=
strmbase_renderer_init
(
&
pVideoRenderer
->
renderer
,
&
VideoRenderer_Vtbl
,
outer
,
&
CLSID_VideoRenderer
,
sink_name
,
(
DWORD_PTR
)(
__FILE__
": VideoRendererImpl.csFilter"
),
&
BaseFuncTable
);
outer
,
&
CLSID_VideoRenderer
,
sink_name
,
&
BaseFuncTable
);
if
(
FAILED
(
hr
))
goto
fail
;
...
...
dlls/quartz/vmr9.c
View file @
1317102f
...
...
@@ -2155,15 +2155,7 @@ static HRESULT vmr_create(IUnknown *outer, void **out, const CLSID *clsid)
pVMR
->
IVMRWindowlessControl_iface
.
lpVtbl
=
&
VMR7_WindowlessControl_Vtbl
;
pVMR
->
IVMRWindowlessControl9_iface
.
lpVtbl
=
&
VMR9_WindowlessControl_Vtbl
;
if
(
IsEqualGUID
(
clsid
,
&
CLSID_VideoMixingRenderer
))
hr
=
strmbase_renderer_init
(
&
pVMR
->
renderer
,
&
VMR_Vtbl
,
outer
,
&
CLSID_VideoMixingRenderer
,
sink_name
,
(
DWORD_PTR
)(
__FILE__
": VMR7Impl.csFilter"
),
&
BaseFuncTable
);
else
hr
=
strmbase_renderer_init
(
&
pVMR
->
renderer
,
&
VMR_Vtbl
,
outer
,
&
CLSID_VideoMixingRenderer9
,
sink_name
,
(
DWORD_PTR
)(
__FILE__
": VMR9Impl.csFilter"
),
&
BaseFuncTable
);
hr
=
strmbase_renderer_init
(
&
pVMR
->
renderer
,
&
VMR_Vtbl
,
outer
,
clsid
,
sink_name
,
&
BaseFuncTable
);
if
(
FAILED
(
hr
))
goto
fail
;
...
...
dlls/strmbase/filter.c
View file @
1317102f
...
...
@@ -292,7 +292,7 @@ VOID WINAPI BaseFilterImpl_IncrementPinVersion(BaseFilter *filter)
}
void
strmbase_filter_init
(
BaseFilter
*
filter
,
const
IBaseFilterVtbl
*
vtbl
,
IUnknown
*
outer
,
const
CLSID
*
clsid
,
DWORD_PTR
debug_info
,
const
BaseFilterFuncTable
*
func_table
)
const
CLSID
*
clsid
,
const
BaseFilterFuncTable
*
func_table
)
{
memset
(
filter
,
0
,
sizeof
(
*
filter
));
...
...
@@ -302,8 +302,8 @@ void strmbase_filter_init(BaseFilter *filter, const IBaseFilterVtbl *vtbl, IUnkn
filter
->
refcount
=
1
;
InitializeCriticalSection
(
&
filter
->
csFilter
);
filter
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": BaseFilter.csFilter"
);
filter
->
clsid
=
*
clsid
;
filter
->
csFilter
.
DebugInfo
->
Spare
[
0
]
=
debug_info
;
filter
->
pin_version
=
1
;
filter
->
pFuncsTable
=
func_table
;
}
...
...
dlls/strmbase/renderer.c
View file @
1317102f
...
...
@@ -232,13 +232,13 @@ static const BaseInputPinFuncTable input_BaseInputFuncTable = {
HRESULT
WINAPI
strmbase_renderer_init
(
BaseRenderer
*
filter
,
const
IBaseFilterVtbl
*
vtbl
,
IUnknown
*
outer
,
const
CLSID
*
clsid
,
const
WCHAR
*
sink_name
,
DWORD_PTR
debug_info
,
IUnknown
*
outer
,
const
CLSID
*
clsid
,
const
WCHAR
*
sink_name
,
const
BaseRendererFuncTable
*
pBaseFuncsTable
)
{
PIN_INFO
piInput
;
HRESULT
hr
;
strmbase_filter_init
(
&
filter
->
filter
,
vtbl
,
outer
,
clsid
,
debug_info
,
&
RendererBaseFilterFuncTable
);
strmbase_filter_init
(
&
filter
->
filter
,
vtbl
,
outer
,
clsid
,
&
RendererBaseFilterFuncTable
);
filter
->
pFuncsTable
=
pBaseFuncsTable
;
...
...
dlls/strmbase/transform.c
View file @
1317102f
...
...
@@ -277,8 +277,7 @@ static HRESULT strmbase_transform_init(IUnknown *outer, const CLSID *clsid,
PIN_INFO
piInput
;
PIN_INFO
piOutput
;
strmbase_filter_init
(
&
filter
->
filter
,
&
transform_vtbl
,
outer
,
clsid
,
(
DWORD_PTR
)(
__FILE__
": TransformFilter.csFilter"
),
&
tfBaseFuncTable
);
strmbase_filter_init
(
&
filter
->
filter
,
&
transform_vtbl
,
outer
,
clsid
,
&
tfBaseFuncTable
);
InitializeCriticalSection
(
&
filter
->
csReceive
);
filter
->
csReceive
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": TransformFilter.csReceive"
);
...
...
dlls/winegstreamer/gstdemux.c
View file @
1317102f
...
...
@@ -1271,8 +1271,7 @@ IUnknown * CALLBACK Gstreamer_Splitter_create(IUnknown *outer, HRESULT *phr)
}
memset
(
This
,
0
,
sizeof
(
*
This
));
strmbase_filter_init
(
&
This
->
filter
,
&
GST_Vtbl
,
outer
,
&
CLSID_Gstreamer_Splitter
,
(
DWORD_PTR
)(
__FILE__
": GSTImpl.csFilter"
),
&
BaseFuncTable
);
strmbase_filter_init
(
&
This
->
filter
,
&
GST_Vtbl
,
outer
,
&
CLSID_Gstreamer_Splitter
,
&
BaseFuncTable
);
This
->
cStreams
=
0
;
This
->
ppPins
=
NULL
;
...
...
dlls/wineqtdecoder/qtsplitter.c
View file @
1317102f
...
...
@@ -301,8 +301,7 @@ IUnknown * CALLBACK QTSplitter_create(IUnknown *outer, HRESULT *phr)
}
ZeroMemory
(
This
,
sizeof
(
*
This
));
strmbase_filter_init
(
&
This
->
filter
,
&
QT_Vtbl
,
outer
,
&
CLSID_QTSplitter
,
(
DWORD_PTR
)(
__FILE__
": QTSplitter.csFilter"
),
&
BaseFuncTable
);
strmbase_filter_init
(
&
This
->
filter
,
&
QT_Vtbl
,
outer
,
&
CLSID_QTSplitter
,
&
BaseFuncTable
);
InitializeCriticalSection
(
&
This
->
csReceive
);
This
->
csReceive
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": QTSplitter.csReceive"
);
...
...
include/wine/strmbase.h
View file @
1317102f
...
...
@@ -200,7 +200,7 @@ HRESULT WINAPI BaseFilterImpl_QueryVendorInfo(IBaseFilter * iface, LPWSTR *pVend
VOID
WINAPI
BaseFilterImpl_IncrementPinVersion
(
BaseFilter
*
This
);
void
strmbase_filter_init
(
BaseFilter
*
filter
,
const
IBaseFilterVtbl
*
vtbl
,
IUnknown
*
outer
,
const
CLSID
*
clsid
,
DWORD_PTR
debug_info
,
const
BaseFilterFuncTable
*
func_table
);
const
CLSID
*
clsid
,
const
BaseFilterFuncTable
*
func_table
);
void
strmbase_filter_cleanup
(
BaseFilter
*
filter
);
/* Enums */
...
...
@@ -600,7 +600,7 @@ HRESULT WINAPI BaseRendererImpl_EndFlush(BaseRenderer* iface);
HRESULT
WINAPI
BaseRendererImpl_ClearPendingSample
(
BaseRenderer
*
iface
);
HRESULT
WINAPI
strmbase_renderer_init
(
BaseRenderer
*
filter
,
const
IBaseFilterVtbl
*
vtbl
,
IUnknown
*
outer
,
const
CLSID
*
clsid
,
const
WCHAR
*
sink_name
,
DWORD_PTR
debug_info
,
IUnknown
*
outer
,
const
CLSID
*
clsid
,
const
WCHAR
*
sink_name
,
const
BaseRendererFuncTable
*
func_table
);
void
strmbase_renderer_cleanup
(
BaseRenderer
*
filter
);
...
...
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