Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I9b2273ef758c78d927591c1a0a9f988de739742c
This commit is contained in:
@@ -132,7 +132,7 @@ void WVMExtractorImpl::Initialize()
|
||||
#endif
|
||||
|
||||
if (result != WV_Status_OK) {
|
||||
LOGE("WV_Initialize returned status %d\n", result);
|
||||
ALOGE("WV_Initialize returned status %d\n", result);
|
||||
mSetupStatus = ERROR_IO;
|
||||
} else {
|
||||
// Enable for debugging HTTP messages
|
||||
@@ -152,7 +152,7 @@ void WVMExtractorImpl::Initialize()
|
||||
}
|
||||
|
||||
if (result != WV_Status_OK) {
|
||||
LOGE("WV_Setup returned status %d in WVMMediaSource::start\n", result);
|
||||
ALOGE("WV_Setup returned status %d in WVMMediaSource::start\n", result);
|
||||
mSetupStatus = ERROR_IO;
|
||||
WV_Teardown(mSession);
|
||||
mSession = NULL;
|
||||
@@ -242,7 +242,7 @@ status_t WVMExtractorImpl::readMetaData()
|
||||
videoMetaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_VIDEO_AVC);
|
||||
break;
|
||||
default:
|
||||
LOGE("Invalid WV video type %d, expected H264C\n", audioType);
|
||||
ALOGE("Invalid WV video type %d, expected H264C\n", audioType);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -251,7 +251,7 @@ status_t WVMExtractorImpl::readMetaData()
|
||||
audioMetaData->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_AAC);
|
||||
break;
|
||||
default:
|
||||
LOGE("Invalid WV audio type %d, expected AAC\n", audioType);
|
||||
ALOGE("Invalid WV audio type %d, expected AAC\n", audioType);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -268,7 +268,7 @@ status_t WVMExtractorImpl::readMetaData()
|
||||
float scaleUsed;
|
||||
result = WV_Play(mSession, 1.0, &scaleUsed, "npt=now-");
|
||||
if (result != WV_Status_OK) {
|
||||
LOGE("WV_Play for live stream setup failed: %d", result);
|
||||
ALOGE("WV_Play for live stream setup failed: %d", result);
|
||||
return ERROR_IO;
|
||||
}
|
||||
}
|
||||
@@ -282,7 +282,7 @@ status_t WVMExtractorImpl::readMetaData()
|
||||
if (mIsLiveStream) {
|
||||
result = WV_Pause(mSession, "");
|
||||
if (result != WV_Status_OK) {
|
||||
LOGE("WV_Pause for live stream setup failed: %d", result);
|
||||
ALOGE("WV_Pause for live stream setup failed: %d", result);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -332,7 +332,7 @@ status_t WVMExtractorImpl::readESDSMetaData(sp<MetaData> audioMetaData)
|
||||
} while (result == WV_Status_Warning_Not_Available && limit-- > 0);
|
||||
|
||||
if (result != WV_Status_OK) {
|
||||
LOGE("WV_Info_GetCodecConfig ESDS returned error %d\n", result);
|
||||
ALOGE("WV_Info_GetCodecConfig ESDS returned error %d\n", result);
|
||||
return ERROR_IO;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user