[PATCH] quartz: Fix a race in IMediaFilter::Pause().

Akihiro Sagawa sagawa.aki at gmail.com
Fri Dec 10 08:58:15 CST 2021


Before finishing async run, graph->stream_start isn't stable.
This will cause graph->current_pos to be out of playback duration.
Since graph->current_pos is out of the range, the playback will
be stopped.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52200
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
---
 dlls/quartz/filtergraph.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-quartz-Fix-a-race-in-IMediaFilter-Pause.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20211210/0fea9bab/attachment.bin>


More information about the wine-devel mailing list