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
1c82aca1
Commit
1c82aca1
authored
Aug 31, 2015
by
Bruno Jesus
Committed by
Alexandre Julliard
Aug 31, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciavi32: Add partial support for MCI_DGV_PLAY_REPEAT.
parent
8b7a0c0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
mciavi.c
dlls/mciavi32/mciavi.c
+9
-4
No files found.
dlls/mciavi32/mciavi.c
View file @
1c82aca1
...
...
@@ -402,14 +402,19 @@ static DWORD MCIAVI_player(WINE_MCIAVI *wma, DWORD dwFlags, LPMCI_PLAY_PARMS lpP
}
ReleaseDC
(
wma
->
hWndPaint
,
hDC
);
}
if
(
wma
->
dwCurrVideoFrame
>=
wma
->
dwToVideoFrame
)
break
;
if
(
wma
->
dwCurrVideoFrame
>=
wma
->
dwToVideoFrame
)
{
if
(
!
(
dwFlags
&
MCI_DGV_PLAY_REPEAT
))
break
;
TRACE
(
"repeat media as requested
\n
"
);
wma
->
dwCurrVideoFrame
=
wma
->
dwCurrAudioBlock
=
0
;
}
if
(
wma
->
lpWaveFormat
)
MCIAVI_PlayAudioBlocks
(
wma
,
nHdr
,
waveHdr
);
tc
=
currenttime_us
();
if
(
tc
<
next_frame_us
)
if
(
tc
<
next_frame_us
)
delta
=
next_frame_us
-
tc
;
else
delta
=
0
;
...
...
@@ -532,7 +537,7 @@ static DWORD MCIAVI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms
if
(
dwFlags
&
MCI_DGV_PLAY_REVERSE
)
return
MCIERR_UNSUPPORTED_FUNCTION
;
if
(
dwFlags
&
MCI_TEST
)
return
0
;
if
(
dwFlags
&
(
MCI_
DGV_PLAY_REPEAT
|
MCI_
MCIAVI_PLAY_WINDOW
|
MCI_MCIAVI_PLAY_FULLSCREEN
|
MCI_MCIAVI_PLAY_FULLBY2
))
if
(
dwFlags
&
(
MCI_MCIAVI_PLAY_WINDOW
|
MCI_MCIAVI_PLAY_FULLSCREEN
|
MCI_MCIAVI_PLAY_FULLBY2
))
FIXME
(
"Unsupported flag %08x
\n
"
,
dwFlags
);
EnterCriticalSection
(
&
wma
->
cs
);
...
...
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