quartz: Return the paused timestamp from IMediaSeeking::GetCurrentPosition() if the...
commit78c2f08225bf1e8a3e3342fe4d36f597af51451f
authorZebediah Figura <z.figura12@gmail.com>
Tue, 20 Oct 2020 21:42:57 +0000 (20 16:42 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Oct 2020 08:50:36 +0000 (21 10:50 +0200)
tree90974325004adae95c3cb02807d69639accb7eeb
parent42bba70a024060fbd698aadec20fbb6f61ad9e16
quartz: Return the paused timestamp from IMediaSeeking::GetCurrentPosition() if the graph is running asynchronously.

In this case "graph->stream_start" has not yet been set.

This fixes a regression with Blazblue Centralfiction, which incorrectly skipped
a video. The application called IMediaControl::Run() and
IMediaSeeking::GetCurrentPosition() in quick succession, received an incorrect
value for the latter, and consequently believed that the video had already
finished.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/quartz/filtergraph.c