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
97b9e9c3
Commit
97b9e9c3
authored
Apr 16, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Make sure at least 1 sample is processed before returning.
parent
405e21d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
pin.c
dlls/quartz/pin.c
+6
-2
No files found.
dlls/quartz/pin.c
View file @
97b9e9c3
...
...
@@ -1382,7 +1382,11 @@ static void CALLBACK PullPin_Thread_Process(ULONG_PTR iface)
TRACE
(
"Start
\n
"
);
while
(
This
->
rtCurrent
<
This
->
rtStop
&&
hr
==
S_OK
&&
!
This
->
stop_playback
)
if
(
This
->
rtCurrent
>=
This
->
rtStop
)
{
FIXME
(
"Send an EndOfStream?
\n
"
);
}
else
do
{
/* FIXME: to improve performance by quite a bit this should be changed
* so that one sample is processed while one sample is fetched. However,
...
...
@@ -1427,7 +1431,7 @@ static void CALLBACK PullPin_Thread_Process(ULONG_PTR iface)
if
(
pSample
)
IMediaSample_Release
(
pSample
);
}
}
while
(
This
->
rtCurrent
<
This
->
rtStop
&&
hr
==
S_OK
&&
!
This
->
stop_playback
);
CoUninitialize
();
EnterCriticalSection
(
This
->
pin
.
pCritSec
);
...
...
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