Aric Stewart : wineqtdecoder: Tweak required for processing MPEG streams.
Alexandre Julliard
julliard at winehq.org
Thu Apr 7 11:16:41 CDT 2011
Module: wine
Branch: master
Commit: a9e400b66abbeb32942c7f63f6607fee6ececbaa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a9e400b66abbeb32942c7f63f6607fee6ececbaa
Author: Aric Stewart <aric at codeweavers.com>
Date: Wed Apr 6 13:36:24 2011 -0500
wineqtdecoder: Tweak required for processing MPEG streams.
---
dlls/wineqtdecoder/qtsplitter.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/wineqtdecoder/qtsplitter.c b/dlls/wineqtdecoder/qtsplitter.c
index 384e9c8..2a44cfd 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
{
More information about the wine-cvs
mailing list