[PATCH 3/4] evr/presenter: Fix sample queue loop present condition.
Nikolay Sivov
nsivov at codeweavers.com
Mon Apr 19 08:03:08 CDT 2021
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/evr/presenter.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/evr/presenter.c b/dlls/evr/presenter.c
index 1cf2ef1ad56..cd134e4a1ef 100644
--- a/dlls/evr/presenter.c
+++ b/dlls/evr/presenter.c
@@ -541,13 +541,14 @@ static void video_presenter_check_queue(struct video_presenter *presenter,
{
LONGLONG pts, clocktime, delta;
unsigned int wait = 0;
- BOOL present = TRUE;
IMFSample *sample;
MFTIME systime;
+ BOOL present;
HRESULT hr;
while (video_presenter_sample_queue_pop(presenter, &sample))
{
+ present = TRUE;
wait = 0;
if (presenter->clock)
--
2.30.2
More information about the wine-devel
mailing list