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
4a441e7b
Commit
4a441e7b
authored
Apr 04, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/vmr9: Do not set the mode if we failed to create the default presenter.
parent
966bad6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
vmr9.c
dlls/quartz/vmr9.c
+3
-2
No files found.
dlls/quartz/vmr9.c
View file @
4a441e7b
...
...
@@ -1352,13 +1352,14 @@ static HRESULT WINAPI VMR9FilterConfig_SetRenderingMode(IVMRFilterConfig9 *iface
if
(
FAILED
(
hr
=
default_presenter_create
(
This
,
&
default_presenter
)))
{
ERR
(
"Failed to create default presenter, hr %#lx.
\n
"
,
hr
);
break
;
LeaveCriticalSection
(
&
This
->
renderer
.
filter
.
filter_cs
);
return
hr
;
}
This
->
allocator
=
&
default_presenter
->
IVMRSurfaceAllocator9_iface
;
This
->
presenter
=
&
default_presenter
->
IVMRImagePresenter9_iface
;
IVMRImagePresenter9_AddRef
(
This
->
presenter
);
hr
=
IVMRSurfaceAllocator9_AdviseNotify
(
This
->
allocator
,
&
This
->
IVMRSurfaceAllocatorNotify9_iface
);
IVMRSurfaceAllocator9_AdviseNotify
(
This
->
allocator
,
&
This
->
IVMRSurfaceAllocatorNotify9_iface
);
break
;
case
VMR9Mode_Renderless
:
break
;
...
...
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