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
5aec70f6
Commit
5aec70f6
authored
Nov 26, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap/smartteefilter: Call IMemInputPin::Receive() directly.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b31cca34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
smartteefilter.c
dlls/qcap/smartteefilter.c
+4
-4
No files found.
dlls/qcap/smartteefilter.c
View file @
5aec70f6
...
...
@@ -261,8 +261,8 @@ static HRESULT WINAPI SmartTeeFilterInput_Receive(struct strmbase_sink *base, IM
if
(
This
->
capture
.
pin
.
peer
)
hrCapture
=
copy_sample
(
inputSample
,
This
->
capture
.
pAllocator
,
&
captureSample
);
LeaveCriticalSection
(
&
This
->
filter
.
csFilter
);
if
(
SUCCEEDED
(
hrCapture
))
hrCapture
=
BaseOutputPinImpl_Deliver
(
&
This
->
capture
,
captureSample
);
if
(
SUCCEEDED
(
hrCapture
)
&&
This
->
capture
.
pMemInputPin
)
hrCapture
=
IMemInputPin_Receive
(
This
->
capture
.
pMemInputPin
,
captureSample
);
if
(
captureSample
)
IMediaSample_Release
(
captureSample
);
...
...
@@ -273,8 +273,8 @@ static HRESULT WINAPI SmartTeeFilterInput_Receive(struct strmbase_sink *base, IM
/* No timestamps on preview stream: */
if
(
SUCCEEDED
(
hrPreview
))
hrPreview
=
IMediaSample_SetTime
(
previewSample
,
NULL
,
NULL
);
if
(
SUCCEEDED
(
hrPreview
))
hrPreview
=
BaseOutputPinImpl_Deliver
(
&
This
->
preview
,
previewSample
);
if
(
SUCCEEDED
(
hrPreview
)
&&
This
->
preview
.
pMemInputPin
)
hrPreview
=
IMemInputPin_Receive
(
This
->
preview
.
pMemInputPin
,
previewSample
);
if
(
previewSample
)
IMediaSample_Release
(
previewSample
);
...
...
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