mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1128332: Part1. Add useful informations to logging. r=mattwoodrow
This commit is contained in:
parent
bc3c99aaa7
commit
fcde4d14ce
@ -120,7 +120,7 @@ MediaSourceReader::RequestAudioData()
|
||||
MOZ_DIAGNOSTIC_ASSERT(mSeekPromise.IsEmpty(), "No sample requests allowed while seeking");
|
||||
MOZ_DIAGNOSTIC_ASSERT(mAudioPromise.IsEmpty(), "No duplicate sample requests");
|
||||
nsRefPtr<AudioDataPromise> p = mAudioPromise.Ensure(__func__);
|
||||
MSE_DEBUGV("");
|
||||
MSE_DEBUGV("mLastAudioTime=%lld", mLastAudioTime);
|
||||
if (!mAudioTrack) {
|
||||
MSE_DEBUG("called with no audio track");
|
||||
mAudioPromise.Reject(DECODE_ERROR, __func__);
|
||||
@ -268,8 +268,8 @@ MediaSourceReader::RequestVideoData(bool aSkipToNextKeyframe, int64_t aTimeThres
|
||||
MOZ_DIAGNOSTIC_ASSERT(mSeekPromise.IsEmpty(), "No sample requests allowed while seeking");
|
||||
MOZ_DIAGNOSTIC_ASSERT(mVideoPromise.IsEmpty(), "No duplicate sample requests");
|
||||
nsRefPtr<VideoDataPromise> p = mVideoPromise.Ensure(__func__);
|
||||
MSE_DEBUGV("RequestVideoData(%d, %lld)",
|
||||
aSkipToNextKeyframe, aTimeThreshold);
|
||||
MSE_DEBUGV("RequestVideoData(%d, %lld), mLastVideoTime=%lld",
|
||||
aSkipToNextKeyframe, aTimeThreshold, mLastVideoTime);
|
||||
if (!mVideoTrack) {
|
||||
MSE_DEBUG("called with no video track");
|
||||
mVideoPromise.Reject(DECODE_ERROR, __func__);
|
||||
|
Loading…
Reference in New Issue
Block a user