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
bd80194a
Commit
bd80194a
authored
Apr 05, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/filesource: Remove unused callbacks.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4d7ac46b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
+0
-27
filesource.c
dlls/quartz/filesource.c
+0
-27
No files found.
dlls/quartz/filesource.c
View file @
bd80194a
...
...
@@ -63,7 +63,6 @@ struct async_reader
LPOLESTR
pszFileName
;
AM_MEDIA_TYPE
mt
;
ALLOCATOR_PROPERTIES
allocProps
;
HANDLE
file
,
port
,
io_thread
;
CRITICAL_SECTION
sample_cs
;
BOOL
flushing
;
...
...
@@ -550,11 +549,6 @@ static inline struct async_reader *impl_from_strmbase_pin(struct strmbase_pin *i
return
CONTAINING_RECORD
(
iface
,
struct
async_reader
,
source
.
pin
);
}
static
inline
struct
async_reader
*
impl_from_strmbase_source
(
struct
strmbase_source
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
async_reader
,
source
);
}
static
inline
struct
async_reader
*
impl_from_IAsyncReader
(
IAsyncReader
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
async_reader
,
IAsyncReader_iface
);
...
...
@@ -630,32 +624,12 @@ static HRESULT WINAPI FileAsyncReaderPin_AttemptConnection(struct strmbase_sourc
return
hr
;
}
static
HRESULT
WINAPI
FileAsyncReaderPin_DecideBufferSize
(
struct
strmbase_source
*
iface
,
IMemAllocator
*
pAlloc
,
ALLOCATOR_PROPERTIES
*
ppropInputRequest
)
{
struct
async_reader
*
This
=
impl_from_strmbase_source
(
iface
);
ALLOCATOR_PROPERTIES
actual
;
if
(
ppropInputRequest
->
cbAlign
&&
ppropInputRequest
->
cbAlign
!=
This
->
allocProps
.
cbAlign
)
FIXME
(
"Requested Buffer cbAlign mismatch %i,%i
\n
"
,
This
->
allocProps
.
cbAlign
,
ppropInputRequest
->
cbAlign
);
if
(
ppropInputRequest
->
cbPrefix
)
FIXME
(
"Requested Buffer cbPrefix mismatch %i,%i
\n
"
,
This
->
allocProps
.
cbPrefix
,
ppropInputRequest
->
cbPrefix
);
if
(
ppropInputRequest
->
cbBuffer
)
FIXME
(
"Requested Buffer cbBuffer mismatch %i,%i
\n
"
,
This
->
allocProps
.
cbBuffer
,
ppropInputRequest
->
cbBuffer
);
if
(
ppropInputRequest
->
cBuffers
)
FIXME
(
"Requested Buffer cBuffers mismatch %i,%i
\n
"
,
This
->
allocProps
.
cBuffers
,
ppropInputRequest
->
cBuffers
);
return
IMemAllocator_SetProperties
(
pAlloc
,
&
This
->
allocProps
,
&
actual
);
}
static
const
struct
strmbase_source_ops
source_ops
=
{
.
base
.
pin_query_accept
=
source_query_accept
,
.
base
.
pin_get_media_type
=
source_get_media_type
,
.
base
.
pin_query_interface
=
source_query_interface
,
.
pfnAttemptConnection
=
FileAsyncReaderPin_AttemptConnection
,
.
pfnDecideBufferSize
=
FileAsyncReaderPin_DecideBufferSize
,
.
pfnDecideAllocator
=
BaseOutputPinImpl_DecideAllocator
,
};
static
HRESULT
WINAPI
FileAsyncReader_QueryInterface
(
IAsyncReader
*
iface
,
REFIID
iid
,
void
**
out
)
...
...
@@ -720,7 +694,6 @@ static HRESULT WINAPI FileAsyncReader_RequestAllocator(IAsyncReader *iface,
for
(
i
=
0
;
i
<
filter
->
max_requests
;
++
i
)
filter
->
requests
[
i
].
ovl
.
hEvent
=
CreateEventW
(
NULL
,
TRUE
,
FALSE
,
NULL
);
filter
->
allocProps
=
*
props
;
*
ret_allocator
=
allocator
;
return
S_OK
;
...
...
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