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
43444f40
Commit
43444f40
authored
May 22, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
May 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Rename BaseFilter_Destroy() to strmbase_filter_cleanup().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6a610a32
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
10 deletions
+10
-10
vfwcapture.c
dlls/qcap/vfwcapture.c
+1
-1
filesource.c
dlls/quartz/filesource.c
+1
-1
parser.c
dlls/quartz/parser.c
+1
-1
filter.c
dlls/strmbase/filter.c
+2
-2
renderer.c
dlls/strmbase/renderer.c
+1
-1
transform.c
dlls/strmbase/transform.c
+1
-1
gstdemux.c
dlls/winegstreamer/gstdemux.c
+1
-1
qtsplitter.c
dlls/wineqtdecoder/qtsplitter.c
+1
-1
strmbase.h
include/wine/strmbase.h
+1
-1
No files found.
dlls/qcap/vfwcapture.c
View file @
43444f40
...
@@ -177,7 +177,7 @@ static ULONG WINAPI unknown_inner_Release(IUnknown *iface)
...
@@ -177,7 +177,7 @@ static ULONG WINAPI unknown_inner_Release(IUnknown *iface)
IPin_Release
(
conn
);
IPin_Release
(
conn
);
}
}
IPin_Release
(
This
->
pOutputPin
);
IPin_Release
(
This
->
pOutputPin
);
BaseFilter_Destroy
(
&
This
->
filter
);
strmbase_filter_cleanup
(
&
This
->
filter
);
CoTaskMemFree
(
This
);
CoTaskMemFree
(
This
);
ObjectRefCount
(
FALSE
);
ObjectRefCount
(
FALSE
);
}
}
...
...
dlls/quartz/filesource.c
View file @
43444f40
...
@@ -493,7 +493,7 @@ static ULONG WINAPI AsyncReader_Release(IBaseFilter * iface)
...
@@ -493,7 +493,7 @@ static ULONG WINAPI AsyncReader_Release(IBaseFilter * iface)
CoTaskMemFree
(
This
->
pszFileName
);
CoTaskMemFree
(
This
->
pszFileName
);
if
(
This
->
pmt
)
if
(
This
->
pmt
)
DeleteMediaType
(
This
->
pmt
);
DeleteMediaType
(
This
->
pmt
);
BaseFilter_Destroy
(
&
This
->
filter
);
strmbase_filter_cleanup
(
&
This
->
filter
);
CoTaskMemFree
(
This
);
CoTaskMemFree
(
This
);
return
0
;
return
0
;
}
}
...
...
dlls/quartz/parser.c
View file @
43444f40
...
@@ -193,7 +193,7 @@ void Parser_Destroy(ParserImpl *This)
...
@@ -193,7 +193,7 @@ void Parser_Destroy(ParserImpl *This)
}
}
CoTaskMemFree
(
This
->
ppPins
);
CoTaskMemFree
(
This
->
ppPins
);
BaseFilter_Destroy
(
&
This
->
filter
);
strmbase_filter_cleanup
(
&
This
->
filter
);
TRACE
(
"Destroying parser
\n
"
);
TRACE
(
"Destroying parser
\n
"
);
CoTaskMemFree
(
This
);
CoTaskMemFree
(
This
);
...
...
dlls/strmbase/filter.c
View file @
43444f40
...
@@ -62,7 +62,7 @@ ULONG WINAPI BaseFilterImpl_Release(IBaseFilter * iface)
...
@@ -62,7 +62,7 @@ ULONG WINAPI BaseFilterImpl_Release(IBaseFilter * iface)
TRACE
(
"(%p)->() Release from %d
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"(%p)->() Release from %d
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
if
(
!
refCount
)
BaseFilter_Destroy
(
This
);
strmbase_filter_cleanup
(
This
);
return
refCount
;
return
refCount
;
}
}
...
@@ -227,7 +227,7 @@ void BaseFilter_Init(BaseFilter *This, const IBaseFilterVtbl *Vtbl, const CLSID
...
@@ -227,7 +227,7 @@ void BaseFilter_Init(BaseFilter *This, const IBaseFilterVtbl *Vtbl, const CLSID
This
->
pFuncsTable
=
pBaseFuncsTable
;
This
->
pFuncsTable
=
pBaseFuncsTable
;
}
}
HRESULT
WINAPI
BaseFilter_Destroy
(
BaseFilter
*
This
)
HRESULT
WINAPI
strmbase_filter_cleanup
(
BaseFilter
*
This
)
{
{
if
(
This
->
pClock
)
if
(
This
->
pClock
)
IReferenceClock_Release
(
This
->
pClock
);
IReferenceClock_Release
(
This
->
pClock
);
...
...
dlls/strmbase/renderer.c
View file @
43444f40
...
@@ -298,7 +298,7 @@ void strmbase_renderer_cleanup(BaseRenderer *filter)
...
@@ -298,7 +298,7 @@ void strmbase_renderer_cleanup(BaseRenderer *filter)
CloseHandle
(
filter
->
ThreadSignal
);
CloseHandle
(
filter
->
ThreadSignal
);
CloseHandle
(
filter
->
RenderEvent
);
CloseHandle
(
filter
->
RenderEvent
);
QualityControlImpl_Destroy
(
filter
->
qcimpl
);
QualityControlImpl_Destroy
(
filter
->
qcimpl
);
BaseFilter_Destroy
(
&
filter
->
filter
);
strmbase_filter_cleanup
(
&
filter
->
filter
);
}
}
HRESULT
WINAPI
BaseRendererImpl_Receive
(
BaseRenderer
*
This
,
IMediaSample
*
pSample
)
HRESULT
WINAPI
BaseRendererImpl_Receive
(
BaseRenderer
*
This
,
IMediaSample
*
pSample
)
...
...
dlls/strmbase/transform.c
View file @
43444f40
...
@@ -194,7 +194,7 @@ static ULONG WINAPI TransformFilterImpl_Release(IBaseFilter * iface)
...
@@ -194,7 +194,7 @@ static ULONG WINAPI TransformFilterImpl_Release(IBaseFilter * iface)
FreeMediaType
(
&
This
->
pmt
);
FreeMediaType
(
&
This
->
pmt
);
QualityControlImpl_Destroy
(
This
->
qcimpl
);
QualityControlImpl_Destroy
(
This
->
qcimpl
);
IUnknown_Release
(
This
->
seekthru_unk
);
IUnknown_Release
(
This
->
seekthru_unk
);
BaseFilter_Destroy
(
&
This
->
filter
);
strmbase_filter_cleanup
(
&
This
->
filter
);
CoTaskMemFree
(
This
);
CoTaskMemFree
(
This
);
}
}
return
refCount
;
return
refCount
;
...
...
dlls/winegstreamer/gstdemux.c
View file @
43444f40
...
@@ -1302,7 +1302,7 @@ static void GST_Destroy(GSTImpl *This)
...
@@ -1302,7 +1302,7 @@ static void GST_Destroy(GSTImpl *This)
gst_bus_set_sync_handler
(
This
->
bus
,
NULL
,
NULL
,
NULL
);
gst_bus_set_sync_handler
(
This
->
bus
,
NULL
,
NULL
,
NULL
);
gst_object_unref
(
This
->
bus
);
gst_object_unref
(
This
->
bus
);
}
}
BaseFilter_Destroy
(
&
This
->
filter
);
strmbase_filter_cleanup
(
&
This
->
filter
);
CoTaskMemFree
(
This
);
CoTaskMemFree
(
This
);
}
}
...
...
dlls/wineqtdecoder/qtsplitter.c
View file @
43444f40
...
@@ -337,7 +337,7 @@ static void QT_Destroy(QTSplitter *This)
...
@@ -337,7 +337,7 @@ static void QT_Destroy(QTSplitter *This)
This
->
csReceive
.
DebugInfo
->
Spare
[
0
]
=
0
;
This
->
csReceive
.
DebugInfo
->
Spare
[
0
]
=
0
;
DeleteCriticalSection
(
&
This
->
csReceive
);
DeleteCriticalSection
(
&
This
->
csReceive
);
BaseFilter_Destroy
(
&
This
->
filter
);
strmbase_filter_cleanup
(
&
This
->
filter
);
CoTaskMemFree
(
This
);
CoTaskMemFree
(
This
);
}
}
...
...
include/wine/strmbase.h
View file @
43444f40
...
@@ -192,7 +192,7 @@ VOID WINAPI BaseFilterImpl_IncrementPinVersion(BaseFilter* This);
...
@@ -192,7 +192,7 @@ VOID WINAPI BaseFilterImpl_IncrementPinVersion(BaseFilter* This);
void
BaseFilter_Init
(
BaseFilter
*
filter
,
const
IBaseFilterVtbl
*
vtbl
,
void
BaseFilter_Init
(
BaseFilter
*
filter
,
const
IBaseFilterVtbl
*
vtbl
,
const
CLSID
*
clsid
,
DWORD_PTR
debug_info
,
const
BaseFilterFuncTable
*
func_table
);
const
CLSID
*
clsid
,
DWORD_PTR
debug_info
,
const
BaseFilterFuncTable
*
func_table
);
HRESULT
WINAPI
BaseFilter_Destroy
(
BaseFilter
*
This
);
HRESULT
WINAPI
strmbase_filter_cleanup
(
BaseFilter
*
filter
);
/* Enums */
/* Enums */
HRESULT
WINAPI
EnumMediaTypes_Construct
(
BasePin
*
iface
,
BasePin_GetMediaType
enumFunc
,
BasePin_GetMediaTypeVersion
versionFunc
,
IEnumMediaTypes
**
ppEnum
);
HRESULT
WINAPI
EnumMediaTypes_Construct
(
BasePin
*
iface
,
BasePin_GetMediaType
enumFunc
,
BasePin_GetMediaTypeVersion
versionFunc
,
IEnumMediaTypes
**
ppEnum
);
...
...
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