summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2015-11-07 18:09:41 -0800
committerd34d <clark@cyngn.com>2015-11-07 18:11:19 -0800
commit6e70871973dbd184af867a942b972e10e5d6073d (patch)
treea43163122ec862a25882dd606151ca0f9835f0d5 /media
parentb46ccd2189fbfc7038c890c5b757ccc0010a2477 (diff)
downloadframeworks_av-6e70871973dbd184af867a942b972e10e5d6073d.zip
frameworks_av-6e70871973dbd184af867a942b972e10e5d6073d.tar.gz
frameworks_av-6e70871973dbd184af867a942b972e10e5d6073d.tar.bz2
stagefright: Fix more compilation warnings
* Fix format specifiers for int64_t * Fix format specifiers for size_t Change-Id: I25a775ac3eda092e36fc231ec16698a1c4a66f8b
Diffstat (limited to 'media')
-rw-r--r--media/libstagefright/CameraSource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/libstagefright/CameraSource.cpp b/media/libstagefright/CameraSource.cpp
index cb6fb22..20a0a45 100644
--- a/media/libstagefright/CameraSource.cpp
+++ b/media/libstagefright/CameraSource.cpp
@@ -676,7 +676,7 @@ status_t CameraSource::start(MetaData *meta) {
if(mRecPause) {
mRecPause = false;
mPauseAdjTimeUs = mPauseEndTimeUs - mPauseStartTimeUs;
- ALOGV("resume : mPause Adj / End / Start : %lld / %lld / %lld us",
+ ALOGV("resume : mPause Adj / End / Start : %" PRId64 " / %" PRId64 " / %" PRId64" us",
mPauseAdjTimeUs, mPauseEndTimeUs, mPauseStartTimeUs);
return OK;
}
@@ -736,7 +736,7 @@ status_t CameraSource::pause() {
mPauseStartTimeUs = mLastFrameTimestampUs;
//record the end time too, or there is a risk the end time is 0
mPauseEndTimeUs = mLastFrameTimestampUs;
- ALOGV("pause : mPauseStart %lld us, #Queued Frames : %d",
+ ALOGV("pause : mPauseStart %" PRId64 " us, #Queued Frames : %zd",
mPauseStartTimeUs, mFramesReceived.size());
return OK;
}
@@ -944,7 +944,7 @@ void CameraSource::dataCallbackTimestamp(int64_t timestampUs,
if (mRecPause == true) {
if(!mFramesReceived.empty()) {
- ALOGV("releaseQueuedFrames - #Queued Frames : %d", mFramesReceived.size());
+ ALOGV("releaseQueuedFrames - #Queued Frames : %zd", mFramesReceived.size());
releaseQueuedFrames();
}
ALOGV("release One Video Frame for Pause : %" PRId64 "us", timestampUs);