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
6b30b6fb
Commit
6b30b6fb
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_GetMediaType implementation.
parent
56fa8f1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
avico.c
dlls/qcap/avico.c
+16
-2
No files found.
dlls/qcap/avico.c
View file @
6b30b6fb
...
@@ -520,8 +520,22 @@ static LONG WINAPI AVICompressorOut_GetMediaTypeVersion(BasePin *base)
...
@@ -520,8 +520,22 @@ static LONG WINAPI AVICompressorOut_GetMediaTypeVersion(BasePin *base)
static
HRESULT
WINAPI
AVICompressorOut_GetMediaType
(
BasePin
*
base
,
int
iPosition
,
AM_MEDIA_TYPE
*
amt
)
static
HRESULT
WINAPI
AVICompressorOut_GetMediaType
(
BasePin
*
base
,
int
iPosition
,
AM_MEDIA_TYPE
*
amt
)
{
{
AVICompressor
*
This
=
impl_from_IBaseFilter
(
base
->
pinInfo
.
pFilter
);
AVICompressor
*
This
=
impl_from_IBaseFilter
(
base
->
pinInfo
.
pFilter
);
FIXME
(
"(%p)->(%d %p)
\n
"
,
This
,
iPosition
,
amt
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%d %p)
\n
"
,
base
,
iPosition
,
amt
);
if
(
iPosition
||
!
This
->
videoinfo
)
return
S_FALSE
;
amt
->
majortype
=
MEDIATYPE_Video
;
amt
->
subtype
=
MEDIASUBTYPE_PCM
;
amt
->
bFixedSizeSamples
=
FALSE
;
amt
->
bTemporalCompression
=
(
This
->
driver_flags
&
VIDCF_TEMPORAL
)
!=
0
;
amt
->
lSampleSize
=
This
->
in
->
pin
.
mtCurrent
.
lSampleSize
;
amt
->
formattype
=
FORMAT_VideoInfo
;
amt
->
pUnk
=
NULL
;
amt
->
cbFormat
=
This
->
videoinfo_size
;
amt
->
pbFormat
=
(
BYTE
*
)
This
->
videoinfo
;
return
S_OK
;
}
}
static
const
BasePinFuncTable
AVICompressorOutputBasePinVtbl
=
{
static
const
BasePinFuncTable
AVICompressorOutputBasePinVtbl
=
{
...
...
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