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
243351d2
Commit
243351d2
authored
Apr 03, 2007
by
Chris Robinson
Committed by
Alexandre Julliard
Apr 04, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Add a QueryConnect method for transform filters.
parent
71bcdc90
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
acmwrapper.c
dlls/quartz/acmwrapper.c
+1
-0
avidec.c
dlls/quartz/avidec.c
+1
-0
transform.c
dlls/quartz/transform.c
+5
-3
transform.h
dlls/quartz/transform.h
+1
-0
No files found.
dlls/quartz/acmwrapper.c
View file @
243351d2
...
...
@@ -240,6 +240,7 @@ static const TransformFuncsTable ACMWrapper_FuncsTable = {
NULL
,
ACMWrapper_ProcessSampleData
,
NULL
,
NULL
,
ACMWrapper_ConnectInput
,
ACMWrapper_Cleanup
};
...
...
dlls/quartz/avidec.c
View file @
243351d2
...
...
@@ -261,6 +261,7 @@ static const TransformFuncsTable AVIDec_FuncsTable = {
AVIDec_ProcessBegin
,
AVIDec_ProcessSampleData
,
AVIDec_ProcessEnd
,
NULL
,
AVIDec_ConnectInput
,
AVIDec_Cleanup
};
...
...
dlls/quartz/transform.c
View file @
243351d2
...
...
@@ -97,12 +97,14 @@ static HRESULT TransformFilter_Sample(LPVOID iface, IMediaSample * pSample)
static
HRESULT
TransformFilter_Input_QueryAccept
(
LPVOID
iface
,
const
AM_MEDIA_TYPE
*
pmt
)
{
/* TransformFilterImpl* This = (TransformFilterImpl*)iface; */
TransformFilterImpl
*
This
=
(
TransformFilterImpl
*
)
iface
;
TRACE
(
"%p
\n
"
,
iface
);
dump_AM_MEDIA_TYPE
(
pmt
);
/* FIXME: Add a function to verify media type with the actual filter */
/* return This->pFuncsTable->pfnConnectInput(This, pmt); */
if
(
This
->
pFuncsTable
->
pfnQueryConnect
)
return
This
->
pFuncsTable
->
pfnQueryConnect
(
This
,
pmt
);
/* Assume OK if there's no query method (the connection will fail if
needed) */
return
S_OK
;
}
...
...
dlls/quartz/transform.h
View file @
243351d2
...
...
@@ -24,6 +24,7 @@ typedef struct TransformFuncsTable {
HRESULT
(
*
pfnProcessBegin
)
(
TransformFilterImpl
*
This
);
HRESULT
(
*
pfnProcessSampleData
)
(
TransformFilterImpl
*
This
,
LPBYTE
data
,
DWORD
size
);
HRESULT
(
*
pfnProcessEnd
)
(
TransformFilterImpl
*
This
);
HRESULT
(
*
pfnQueryConnect
)
(
TransformFilterImpl
*
This
,
const
AM_MEDIA_TYPE
*
pmt
);
HRESULT
(
*
pfnConnectInput
)
(
TransformFilterImpl
*
This
,
const
AM_MEDIA_TYPE
*
pmt
);
HRESULT
(
*
pfnCleanup
)
(
TransformFilterImpl
*
This
);
}
TransformFuncsTable
;
...
...
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