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
f4d7a9ab
Commit
f4d7a9ab
authored
Feb 25, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Feb 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Add Avi Mux IMemInputPin::Receive implementation.
parent
0c73ce54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
avimux.c
dlls/qcap/avimux.c
+16
-4
No files found.
dlls/qcap/avimux.c
View file @
f4d7a9ab
...
@@ -1996,8 +1996,10 @@ static HRESULT WINAPI AviMuxIn_MemInputPin_Receive(
...
@@ -1996,8 +1996,10 @@ static HRESULT WINAPI AviMuxIn_MemInputPin_Receive(
{
{
AviMuxIn
*
avimuxin
=
AviMuxIn_from_IMemInputPin
(
iface
);
AviMuxIn
*
avimuxin
=
AviMuxIn_from_IMemInputPin
(
iface
);
AviMux
*
This
=
impl_from_in_IPin
(
&
avimuxin
->
pin
.
pin
.
IPin_iface
);
AviMux
*
This
=
impl_from_in_IPin
(
&
avimuxin
->
pin
.
pin
.
IPin_iface
);
FIXME
(
"(%p:%s)->(%p)
\n
"
,
This
,
debugstr_w
(
avimuxin
->
pin
.
pin
.
pinInfo
.
achName
),
pSample
);
return
E_NOTIMPL
;
TRACE
(
"(%p:%s)->(%p)
\n
"
,
This
,
debugstr_w
(
avimuxin
->
pin
.
pin
.
pinInfo
.
achName
),
pSample
);
return
avimuxin
->
pin
.
pFuncsTable
->
pfnReceive
(
&
avimuxin
->
pin
,
pSample
);
}
}
static
HRESULT
WINAPI
AviMuxIn_MemInputPin_ReceiveMultiple
(
IMemInputPin
*
iface
,
static
HRESULT
WINAPI
AviMuxIn_MemInputPin_ReceiveMultiple
(
IMemInputPin
*
iface
,
...
@@ -2005,9 +2007,19 @@ static HRESULT WINAPI AviMuxIn_MemInputPin_ReceiveMultiple(IMemInputPin *iface,
...
@@ -2005,9 +2007,19 @@ static HRESULT WINAPI AviMuxIn_MemInputPin_ReceiveMultiple(IMemInputPin *iface,
{
{
AviMuxIn
*
avimuxin
=
AviMuxIn_from_IMemInputPin
(
iface
);
AviMuxIn
*
avimuxin
=
AviMuxIn_from_IMemInputPin
(
iface
);
AviMux
*
This
=
impl_from_in_IPin
(
&
avimuxin
->
pin
.
pin
.
IPin_iface
);
AviMux
*
This
=
impl_from_in_IPin
(
&
avimuxin
->
pin
.
pin
.
IPin_iface
);
FIXME
(
"(%p:%s)->(%p %d %p)
\n
"
,
This
,
debugstr_w
(
avimuxin
->
pin
.
pin
.
pinInfo
.
achName
),
HRESULT
hr
=
S_OK
;
TRACE
(
"(%p:%s)->(%p %d %p)
\n
"
,
This
,
debugstr_w
(
avimuxin
->
pin
.
pin
.
pinInfo
.
achName
),
pSamples
,
nSamples
,
nSamplesProcessed
);
pSamples
,
nSamples
,
nSamplesProcessed
);
return
E_NOTIMPL
;
for
(
*
nSamplesProcessed
=
0
;
*
nSamplesProcessed
<
nSamples
;
(
*
nSamplesProcessed
)
++
)
{
hr
=
avimuxin
->
pin
.
pFuncsTable
->
pfnReceive
(
&
avimuxin
->
pin
,
pSamples
[
*
nSamplesProcessed
]);
if
(
hr
!=
S_OK
)
break
;
}
return
hr
;
}
}
static
HRESULT
WINAPI
AviMuxIn_MemInputPin_ReceiveCanBlock
(
IMemInputPin
*
iface
)
static
HRESULT
WINAPI
AviMuxIn_MemInputPin_ReceiveCanBlock
(
IMemInputPin
*
iface
)
...
...
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