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
5a66857f
Commit
5a66857f
authored
Oct 12, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmime: Don't interrupt track iteration if SetParam failed.
parent
12d3ccb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
segment.c
dlls/dmime/segment.c
+3
-5
No files found.
dlls/dmime/segment.c
View file @
5a66857f
...
...
@@ -409,11 +409,9 @@ static HRESULT WINAPI segment_SetParam(IDirectMusicSegment8 *iface, REFGUID type
if
(
index
!=
DMUS_SEG_ALLTRACKS
&&
index
--
)
continue
;
}
hr
=
IDirectMusicTrack_IsParamSupported
(
entry
->
pTrack
,
type
);
if
(
hr
==
DMUS_E_TYPE_UNSUPPORTED
)
continue
;
hr
=
IDirectMusicTrack_SetParam
(
entry
->
pTrack
,
type
,
music_time
,
param
);
if
(
FAILED
(
hr
))
break
;
if
(
SUCCEEDED
(
hr
=
IDirectMusicTrack_IsParamSupported
(
entry
->
pTrack
,
type
))
&&
FAILED
(
hr
=
IDirectMusicTrack_SetParam
(
entry
->
pTrack
,
type
,
music_time
,
param
)))
WARN
(
"SetParam for track %p failed, hr %#lx
\n
"
,
entry
->
pTrack
,
hr
);
}
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