Created
June 18, 2015 03:34
-
-
Save nhirata/0a896284af3645ae75f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -2309,22 +2311,22 @@ MediaDecoderStateMachine::DecodeFirstFrame() | |
->Then(TaskQueue(), __func__, this, | |
&MediaDecoderStateMachine::OnAudioDecoded, | |
&MediaDecoderStateMachine::OnAudioNotDecoded) | |
); | |
} | |
if (HasVideo()) { | |
mVideoDecodeStartTime = TimeStamp::Now(); | |
mVideoDataRequest.Begin( | |
ProxyMediaCall(DecodeTaskQueue(), mReader.get(), __func__, | |
- &MediaDecoderReader::RequestVideoData, false, int64_t(0)) | |
+ &MediaDecoderReader::RequestVideoData, false, int64_t(0), false) | |
->Then(TaskQueue(), __func__, mStartTimeRendezvous.get(), | |
&StartTimeRendezvous::ProcessFirstSample<VideoDataPromise>, | |
&StartTimeRendezvous::FirstSampleRejected<VideoData>) | |
->CompletionPromise() | |
->Then(TaskQueue(), __func__, this, | |
&MediaDecoderStateMachine::OnVideoDecoded, | |
&MediaDecoderStateMachine::OnVideoNotDecoded)); | |
} | |
} | |
return NS_OK; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment