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
edc843d3
Commit
edc843d3
authored
Dec 06, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Dec 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Do not forward IVMRWindowlessControl::SetVideoClippingWindow() to IVMRWindowlessControl9.
parent
ecc04319
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
vmr9.c
dlls/quartz/vmr9.c
+23
-2
No files found.
dlls/quartz/vmr9.c
View file @
edc843d3
...
...
@@ -1578,10 +1578,31 @@ static HRESULT WINAPI VMR7WindowlessControl_SetAspectRatioMode(IVMRWindowlessCon
static
HRESULT
WINAPI
VMR7WindowlessControl_SetVideoClippingWindow
(
IVMRWindowlessControl
*
iface
,
HWND
window
)
{
struct
quartz_vmr
*
filter
=
impl_from_IVMRWindowlessControl
(
iface
);
HRESULT
hr
;
TRACE
(
"filter %p, window %p.
\n
"
,
filter
,
window
);
if
(
!
IsWindow
(
window
))
{
WARN
(
"Invalid window %p, returning E_INVALIDARG.
\n
"
,
window
);
return
E_INVALIDARG
;
}
EnterCriticalSection
(
&
filter
->
renderer
.
filter
.
filter_cs
);
TRACE
(
"iface %p, window %p.
\n
"
,
iface
,
window
);
if
(
filter
->
renderer
.
sink
.
pin
.
peer
)
{
LeaveCriticalSection
(
&
filter
->
renderer
.
filter
.
filter_cs
);
WARN
(
"Attempt to set the clipping window while connected; returning VFW_E_WRONG_STATE.
\n
"
);
return
VFW_E_WRONG_STATE
;
}
return
IVMRWindowlessControl9_SetVideoClippingWindow
(
&
filter
->
IVMRWindowlessControl9_iface
,
window
);
filter
->
clipping_window
=
window
;
hr
=
IVMRFilterConfig_SetNumberOfStreams
(
&
filter
->
IVMRFilterConfig_iface
,
4
);
LeaveCriticalSection
(
&
filter
->
renderer
.
filter
.
filter_cs
);
return
hr
;
}
static
HRESULT
WINAPI
VMR7WindowlessControl_RepaintVideo
(
IVMRWindowlessControl
*
iface
,
...
...
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