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
4b675fd3
Commit
4b675fd3
authored
Nov 11, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Cast-qual warnings fix.
parent
5cc4a891
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
pin.c
dlls/qcap/pin.c
+3
-3
pin.h
dlls/qcap/pin.h
+1
-1
No files found.
dlls/qcap/pin.c
View file @
4b675fd3
...
@@ -357,7 +357,7 @@ HRESULT WINAPI OutputPin_Disconnect(IPin * iface)
...
@@ -357,7 +357,7 @@ HRESULT WINAPI OutputPin_Disconnect(IPin * iface)
return
hr
;
return
hr
;
}
}
HRESULT
OutputPin_GetDeliveryBuffer
(
OutputPin
*
This
,
IMediaSample
**
ppSample
,
const
REFERENCE_TIME
*
tStart
,
const
REFERENCE_TIME
*
tStop
,
DWORD
dwFlags
)
HRESULT
OutputPin_GetDeliveryBuffer
(
OutputPin
*
This
,
IMediaSample
**
ppSample
,
REFERENCE_TIME
*
tStart
,
REFERENCE_TIME
*
tStop
,
DWORD
dwFlags
)
{
{
HRESULT
hr
;
HRESULT
hr
;
...
@@ -374,10 +374,10 @@ HRESULT OutputPin_GetDeliveryBuffer(OutputPin * This, IMediaSample ** ppSample,
...
@@ -374,10 +374,10 @@ HRESULT OutputPin_GetDeliveryBuffer(OutputPin * This, IMediaSample ** ppSample,
hr
=
IMemInputPin_GetAllocator
(
This
->
pMemInputPin
,
&
pAlloc
);
hr
=
IMemInputPin_GetAllocator
(
This
->
pMemInputPin
,
&
pAlloc
);
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
hr
=
IMemAllocator_GetBuffer
(
pAlloc
,
ppSample
,
(
REFERENCE_TIME
*
)
tStart
,
(
REFERENCE_TIME
*
)
tStop
,
dwFlags
);
hr
=
IMemAllocator_GetBuffer
(
pAlloc
,
ppSample
,
tStart
,
tStop
,
dwFlags
);
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
hr
=
IMediaSample_SetTime
(
*
ppSample
,
(
REFERENCE_TIME
*
)
tStart
,
(
REFERENCE_TIME
*
)
tStop
);
hr
=
IMediaSample_SetTime
(
*
ppSample
,
tStart
,
tStop
);
if
(
pAlloc
)
if
(
pAlloc
)
IMemAllocator_Release
(
pAlloc
);
IMemAllocator_Release
(
pAlloc
);
...
...
dlls/qcap/pin.h
View file @
4b675fd3
...
@@ -76,5 +76,5 @@ HRESULT WINAPI OutputPin_Connect(IPin * iface, IPin * pReceivePin, const AM_MEDI
...
@@ -76,5 +76,5 @@ HRESULT WINAPI OutputPin_Connect(IPin * iface, IPin * pReceivePin, const AM_MEDI
HRESULT
WINAPI
OutputPin_Disconnect
(
IPin
*
iface
);
HRESULT
WINAPI
OutputPin_Disconnect
(
IPin
*
iface
);
HRESULT
WINAPI
OutputPin_ReceiveConnection
(
IPin
*
iface
,
IPin
*
pReceivePin
,
const
AM_MEDIA_TYPE
*
pmt
);
HRESULT
WINAPI
OutputPin_ReceiveConnection
(
IPin
*
iface
,
IPin
*
pReceivePin
,
const
AM_MEDIA_TYPE
*
pmt
);
HRESULT
OutputPin_GetDeliveryBuffer
(
OutputPin
*
This
,
IMediaSample
**
ppSample
,
const
REFERENCE_TIME
*
tStart
,
const
REFERENCE_TIME
*
tStop
,
DWORD
dwFlags
);
HRESULT
OutputPin_GetDeliveryBuffer
(
OutputPin
*
This
,
IMediaSample
**
ppSample
,
REFERENCE_TIME
*
tStart
,
REFERENCE_TIME
*
tStop
,
DWORD
dwFlags
);
HRESULT
OutputPin_SendSample
(
OutputPin
*
This
,
IMediaSample
*
pSample
);
HRESULT
OutputPin_SendSample
(
OutputPin
*
This
,
IMediaSample
*
pSample
);
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