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
4c40aeb9
Commit
4c40aeb9
authored
Dec 08, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Reimplement the VMR7 using the VMR7 presenter.
parent
e428afe4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
vmr7.c
dlls/quartz/tests/vmr7.c
+5
-2
vmr7.c
dlls/quartz/vmr7.c
+0
-0
No files found.
dlls/quartz/tests/vmr7.c
View file @
4c40aeb9
...
@@ -1288,7 +1288,9 @@ static void test_current_image(IBaseFilter *filter, IMemInputPin *input,
...
@@ -1288,7 +1288,9 @@ static void test_current_image(IBaseFilter *filter, IMemInputPin *input,
size
=
sizeof
(
buffer
);
size
=
sizeof
(
buffer
);
hr
=
IBasicVideo_GetCurrentImage
(
video
,
&
size
,
buffer
);
hr
=
IBasicVideo_GetCurrentImage
(
video
,
&
size
,
buffer
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
if
(
hr
!=
S_OK
)
goto
out
;
ok
(
size
==
sizeof
(
buffer
),
"Got size %ld.
\n
"
,
size
);
ok
(
size
==
sizeof
(
buffer
),
"Got size %ld.
\n
"
,
size
);
ok
(
!
memcmp
(
bih
,
&
expect_bih
,
sizeof
(
BITMAPINFOHEADER
)),
"Bitmap headers didn't match.
\n
"
);
ok
(
!
memcmp
(
bih
,
&
expect_bih
,
sizeof
(
BITMAPINFOHEADER
)),
"Bitmap headers didn't match.
\n
"
);
/* The contents seem to reflect the last frame rendered. */
/* The contents seem to reflect the last frame rendered. */
...
@@ -1339,6 +1341,7 @@ static void test_current_image(IBaseFilter *filter, IMemInputPin *input,
...
@@ -1339,6 +1341,7 @@ static void test_current_image(IBaseFilter *filter, IMemInputPin *input,
hr
=
IMediaControl_Stop
(
control
);
hr
=
IMediaControl_Stop
(
control
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Got hr %#lx.
\n
"
,
hr
);
out:
IBasicVideo_Release
(
video
);
IBasicVideo_Release
(
video
);
}
}
...
@@ -1495,7 +1498,7 @@ static void test_connect_pin(void)
...
@@ -1495,7 +1498,7 @@ static void test_connect_pin(void)
vih
.
bmiHeader
.
biBitCount
=
16
;
vih
.
bmiHeader
.
biBitCount
=
16
;
hr
=
IFilterGraph2_ConnectDirect
(
graph
,
&
source
.
source
.
pin
.
IPin_iface
,
pin
,
&
req_mt
);
hr
=
IFilterGraph2_ConnectDirect
(
graph
,
&
source
.
source
.
pin
.
IPin_iface
,
pin
,
&
req_mt
);
ok
(
hr
==
VFW_E_TYPE_NOT_ACCEPTED
,
"Got hr %#lx.
\n
"
,
hr
);
todo_wine
ok
(
hr
==
VFW_E_TYPE_NOT_ACCEPTED
,
"Got hr %#lx.
\n
"
,
hr
);
vih
.
bmiHeader
.
biBitCount
=
32
;
vih
.
bmiHeader
.
biBitCount
=
32
;
hr
=
IFilterGraph2_ConnectDirect
(
graph
,
&
source
.
source
.
pin
.
IPin_iface
,
pin
,
&
req_mt
);
hr
=
IFilterGraph2_ConnectDirect
(
graph
,
&
source
.
source
.
pin
.
IPin_iface
,
pin
,
&
req_mt
);
...
...
dlls/quartz/vmr7.c
View file @
4c40aeb9
This diff is collapsed.
Click to expand it.
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