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
0414557e
Commit
0414557e
authored
Dec 30, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Added AVICompressorOut_DecideBufferSize implementation.
parent
6b30b6fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
avico.c
dlls/qcap/avico.c
+13
-2
No files found.
dlls/qcap/avico.c
View file @
0414557e
...
...
@@ -547,8 +547,19 @@ static const BasePinFuncTable AVICompressorOutputBasePinVtbl = {
static
HRESULT
WINAPI
AVICompressorOut_DecideBufferSize
(
BaseOutputPin
*
base
,
IMemAllocator
*
alloc
,
ALLOCATOR_PROPERTIES
*
ppropInputRequest
)
{
FIXME
(
"
\n
"
);
return
E_NOTIMPL
;
AVICompressor
*
This
=
impl_from_BasePin
(
&
base
->
pin
);
ALLOCATOR_PROPERTIES
actual
;
TRACE
(
"(%p)
\n
"
,
This
);
if
(
!
ppropInputRequest
->
cBuffers
)
ppropInputRequest
->
cBuffers
=
1
;
if
(
ppropInputRequest
->
cbBuffer
<
This
->
videoinfo
->
bmiHeader
.
biSizeImage
)
ppropInputRequest
->
cbBuffer
=
This
->
videoinfo
->
bmiHeader
.
biSizeImage
;
if
(
!
ppropInputRequest
->
cbAlign
)
ppropInputRequest
->
cbAlign
=
1
;
return
IMemAllocator_SetProperties
(
alloc
,
ppropInputRequest
,
&
actual
);
}
static
HRESULT
WINAPI
AVICompressorOut_DecideAllocator
(
BaseOutputPin
*
base
,
...
...
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