From a9e400b66abbeb32942c7f63f6607fee6ececbaa Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Wed, 6 Apr 2011 13:36:24 -0500 Subject: [PATCH] wineqtdecoder: Tweak required for processing MPEG streams. --- dlls/wineqtdecoder/qtsplitter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/wineqtdecoder/qtsplitter.c b/dlls/wineqtdecoder/qtsplitter.c index 384e9c8569..2a44cfd13f 100644 --- a/dlls/wineqtdecoder/qtsplitter.c +++ b/dlls/wineqtdecoder/qtsplitter.c @@ -460,6 +460,9 @@ static DWORD WINAPI QTSplitter_thread(LPVOID data) WaitForSingleObject(This->runEvent, -1); This->state = State_Running; + /* Prime the pump: Needed for MPEG streams */ + GetMovieNextInterestingTime(This->pQTMovie, nextTimeEdgeOK | nextTimeStep, 0, NULL, movie_time, 1, &next_time, NULL); + GetMovieTime(This->pQTMovie, &tr); do { -- 2.32.0.93.g670b81a890