wineqtdecoder: Tweak required for processing MPEG streams.

This commit is contained in:
Aric Stewart 2011-04-06 13:36:24 -05:00 committed by Alexandre Julliard
parent d07f46e8a8
commit a9e400b66a
1 changed files with 3 additions and 0 deletions

View File

@ -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
{