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
73287cdf
Commit
73287cdf
authored
Feb 08, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qasf: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0990abd7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
Makefile.in
dlls/qasf/Makefile.in
+0
-1
dmowrapper.c
dlls/qasf/dmowrapper.c
+8
-8
No files found.
dlls/qasf/Makefile.in
View file @
73287cdf
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
qasf.dll
IMPORTS
=
strmbase dmoguids strmiids uuid ole32 oleaut32
...
...
dlls/qasf/dmowrapper.c
View file @
73287cdf
...
...
@@ -86,7 +86,7 @@ static HRESULT WINAPI buffer_SetLength(IMediaBuffer *iface, DWORD len)
{
struct
buffer
*
buffer
=
impl_from_IMediaBuffer
(
iface
);
TRACE
(
"iface %p, len %u.
\n
"
,
iface
,
len
);
TRACE
(
"iface %p, len %
l
u.
\n
"
,
iface
,
len
);
return
IMediaSample_SetActualDataLength
(
buffer
->
sample
,
len
);
}
...
...
@@ -216,7 +216,7 @@ static HRESULT process_output(struct dmo_wrapper *filter, IMediaObject *dmo)
if
(
FAILED
(
hr
=
IMemAllocator_GetBuffer
(
filter
->
sources
[
i
].
pin
.
pAllocator
,
&
filter
->
sources
[
i
].
buffer
.
sample
,
NULL
,
NULL
,
0
)))
{
ERR
(
"Failed to get sample, hr %#x.
\n
"
,
hr
);
ERR
(
"Failed to get sample, hr %#
l
x.
\n
"
,
hr
);
goto
out
;
}
buffers
[
i
].
pBuffer
=
&
filter
->
sources
[
i
].
buffer
.
IMediaBuffer_iface
;
...
...
@@ -263,7 +263,7 @@ static HRESULT process_output(struct dmo_wrapper *filter, IMediaObject *dmo)
{
if
(
FAILED
(
hr
=
IMemInputPin_Receive
(
filter
->
sources
[
i
].
pin
.
pMemInputPin
,
sample
)))
{
WARN
(
"Downstream sink returned %#x.
\n
"
,
hr
);
WARN
(
"Downstream sink returned %#
l
x.
\n
"
,
hr
);
goto
out
;
}
IMediaSample_SetActualDataLength
(
sample
,
0
);
...
...
@@ -300,7 +300,7 @@ static HRESULT WINAPI dmo_wrapper_sink_Receive(struct strmbase_sink *iface, IMed
{
if
(
FAILED
(
hr
=
IMediaObject_Discontinuity
(
dmo
,
index
)))
{
ERR
(
"Discontinuity() failed, hr %#x.
\n
"
,
hr
);
ERR
(
"Discontinuity() failed, hr %#
l
x.
\n
"
,
hr
);
goto
out
;
}
...
...
@@ -324,7 +324,7 @@ static HRESULT WINAPI dmo_wrapper_sink_Receive(struct strmbase_sink *iface, IMed
if
(
FAILED
(
hr
=
IMediaObject_ProcessInput
(
dmo
,
index
,
&
filter
->
input_buffer
.
IMediaBuffer_iface
,
flags
,
start
,
stop
-
start
)))
{
ERR
(
"ProcessInput() failed, hr %#x.
\n
"
,
hr
);
ERR
(
"ProcessInput() failed, hr %#
l
x.
\n
"
,
hr
);
goto
out
;
}
...
...
@@ -346,11 +346,11 @@ static HRESULT dmo_wrapper_sink_eos(struct strmbase_sink *iface)
IUnknown_QueryInterface
(
filter
->
dmo
,
&
IID_IMediaObject
,
(
void
**
)
&
dmo
);
if
(
FAILED
(
hr
=
IMediaObject_Discontinuity
(
dmo
,
index
)))
ERR
(
"Discontinuity() failed, hr %#x.
\n
"
,
hr
);
ERR
(
"Discontinuity() failed, hr %#
l
x.
\n
"
,
hr
);
process_output
(
filter
,
dmo
);
if
(
FAILED
(
hr
=
IMediaObject_Flush
(
dmo
)))
ERR
(
"Flush() failed, hr %#x.
\n
"
,
hr
);
ERR
(
"Flush() failed, hr %#
l
x.
\n
"
,
hr
);
for
(
i
=
0
;
i
<
filter
->
source_count
;
++
i
)
{
...
...
@@ -372,7 +372,7 @@ static HRESULT dmo_wrapper_end_flush(struct strmbase_sink *iface)
IUnknown_QueryInterface
(
filter
->
dmo
,
&
IID_IMediaObject
,
(
void
**
)
&
dmo
);
if
(
FAILED
(
hr
=
IMediaObject_Flush
(
dmo
)))
ERR
(
"Flush() failed, hr %#x.
\n
"
,
hr
);
ERR
(
"Flush() failed, hr %#
l
x.
\n
"
,
hr
);
for
(
i
=
0
;
i
<
filter
->
source_count
;
++
i
)
{
...
...
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