зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1839493 - part4 : print log first before error return. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D183220
This commit is contained in:
Родитель
5ad67a6a14
Коммит
4e5c385892
|
@ -333,11 +333,11 @@ IFACEMETHODIMP MFMediaSource::QueueEvent(MediaEventType aType,
|
||||||
REFGUID aExtendedType, HRESULT aStatus,
|
REFGUID aExtendedType, HRESULT aStatus,
|
||||||
const PROPVARIANT* aValue) {
|
const PROPVARIANT* aValue) {
|
||||||
MOZ_ASSERT(mMediaEventQueue);
|
MOZ_ASSERT(mMediaEventQueue);
|
||||||
RETURN_IF_FAILED(mMediaEventQueue->QueueEventParamVar(aType, aExtendedType,
|
|
||||||
aStatus, aValue));
|
|
||||||
LOG("Queued event %s", MediaEventTypeToStr(aType));
|
LOG("Queued event %s", MediaEventTypeToStr(aType));
|
||||||
PROFILER_MARKER_TEXT("MFMediaSource::QueueEvent", MEDIA_PLAYBACK, {},
|
PROFILER_MARKER_TEXT("MFMediaSource::QueueEvent", MEDIA_PLAYBACK, {},
|
||||||
nsPrintfCString("%s", MediaEventTypeToStr(aType)));
|
nsPrintfCString("%s", MediaEventTypeToStr(aType)));
|
||||||
|
RETURN_IF_FAILED(mMediaEventQueue->QueueEventParamVar(aType, aExtendedType,
|
||||||
|
aStatus, aValue));
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче