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
db829975
Commit
db829975
authored
Aug 15, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Use proper helpers for iface calls.
parent
223105b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
outputqueue.c
dlls/strmbase/outputqueue.c
+1
-1
qualitycontrol.c
dlls/strmbase/qualitycontrol.c
+4
-4
No files found.
dlls/strmbase/outputqueue.c
View file @
db829975
...
@@ -275,7 +275,7 @@ DWORD WINAPI OutputQueueImpl_ThreadProc(OutputQueue *pOutputQueue)
...
@@ -275,7 +275,7 @@ DWORD WINAPI OutputQueueImpl_ThreadProc(OutputQueue *pOutputQueue)
IMemInputPin_Release
(
pOutputQueue
->
pInputPin
->
pMemInputPin
);
IMemInputPin_Release
(
pOutputQueue
->
pInputPin
->
pMemInputPin
);
}
}
for
(
i
=
0
;
i
<
nSamples
;
i
++
)
for
(
i
=
0
;
i
<
nSamples
;
i
++
)
I
Unknown
_Release
(
ppSamples
[
i
]);
I
MediaSample
_Release
(
ppSamples
[
i
]);
HeapFree
(
GetProcessHeap
(),
0
,
ppSamples
);
HeapFree
(
GetProcessHeap
(),
0
,
ppSamples
);
/* Process Non-Samples */
/* Process Non-Samples */
...
...
dlls/strmbase/qualitycontrol.c
View file @
db829975
...
@@ -56,17 +56,17 @@ HRESULT QualityControlImpl_Destroy(QualityControlImpl *This)
...
@@ -56,17 +56,17 @@ HRESULT QualityControlImpl_Destroy(QualityControlImpl *This)
HRESULT
WINAPI
QualityControlImpl_QueryInterface
(
IQualityControl
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
HRESULT
WINAPI
QualityControlImpl_QueryInterface
(
IQualityControl
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
QualityControlImpl
*
This
=
(
QualityControlImpl
*
)
iface
;
QualityControlImpl
*
This
=
(
QualityControlImpl
*
)
iface
;
return
I
Unknown
_QueryInterface
(
This
->
self
,
riid
,
ppv
);
return
I
BaseFilter
_QueryInterface
(
This
->
self
,
riid
,
ppv
);
}
}
ULONG
WINAPI
QualityControlImpl_AddRef
(
IQualityControl
*
iface
)
{
ULONG
WINAPI
QualityControlImpl_AddRef
(
IQualityControl
*
iface
)
{
QualityControlImpl
*
This
=
(
QualityControlImpl
*
)
iface
;
QualityControlImpl
*
This
=
(
QualityControlImpl
*
)
iface
;
return
I
Unknown
_AddRef
(
This
->
self
);
return
I
BaseFilter
_AddRef
(
This
->
self
);
}
}
ULONG
WINAPI
QualityControlImpl_Release
(
IQualityControl
*
iface
)
{
ULONG
WINAPI
QualityControlImpl_Release
(
IQualityControl
*
iface
)
{
QualityControlImpl
*
This
=
(
QualityControlImpl
*
)
iface
;
QualityControlImpl
*
This
=
(
QualityControlImpl
*
)
iface
;
return
I
Unknown
_Release
(
This
->
self
);
return
I
BaseFilter
_Release
(
This
->
self
);
}
}
HRESULT
WINAPI
QualityControlImpl_Notify
(
IQualityControl
*
iface
,
IBaseFilter
*
sender
,
Quality
qm
)
{
HRESULT
WINAPI
QualityControlImpl_Notify
(
IQualityControl
*
iface
,
IBaseFilter
*
sender
,
Quality
qm
)
{
...
@@ -79,7 +79,7 @@ HRESULT WINAPI QualityControlImpl_Notify(IQualityControl *iface, IBaseFilter *se
...
@@ -79,7 +79,7 @@ HRESULT WINAPI QualityControlImpl_Notify(IQualityControl *iface, IBaseFilter *se
IPin_ConnectedTo
(
This
->
input
,
&
to
);
IPin_ConnectedTo
(
This
->
input
,
&
to
);
if
(
to
)
{
if
(
to
)
{
IQualityControl
*
qc
=
NULL
;
IQualityControl
*
qc
=
NULL
;
I
Unknow
n_QueryInterface
(
to
,
&
IID_IQualityControl
,
(
void
**
)
&
qc
);
I
Pi
n_QueryInterface
(
to
,
&
IID_IQualityControl
,
(
void
**
)
&
qc
);
if
(
qc
)
{
if
(
qc
)
{
hr
=
IQualityControl_Notify
(
qc
,
This
->
self
,
qm
);
hr
=
IQualityControl_Notify
(
qc
,
This
->
self
,
qm
);
IQualityControl_Release
(
qc
);
IQualityControl_Release
(
qc
);
...
...
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