summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/CameraSource.cpp
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-11-07 17:18:14 -0800
committerSteve Kondik <steve@cyngn.com>2015-11-07 17:18:44 -0800
commitb46ccd2189fbfc7038c890c5b757ccc0010a2477 (patch)
tree8555e8d315e65e2656343c2a5f2e4872b87490c7 /media/libstagefright/CameraSource.cpp
parenta91ad73273062403bb85c3e11369bc5e6a26eaf1 (diff)
downloadframeworks_av-b46ccd2189fbfc7038c890c5b757ccc0010a2477.zip
frameworks_av-b46ccd2189fbfc7038c890c5b757ccc0010a2477.tar.gz
frameworks_av-b46ccd2189fbfc7038c890c5b757ccc0010a2477.tar.bz2
stagefright: Fix compilation warning
* Fix format specifiers for int64_t Change-Id: If3f05d0c8c1471ea0b3a97d90a5a774a5c168915
Diffstat (limited to 'media/libstagefright/CameraSource.cpp')
-rw-r--r--media/libstagefright/CameraSource.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/media/libstagefright/CameraSource.cpp b/media/libstagefright/CameraSource.cpp
index 7652fe2..cb6fb22 100644
--- a/media/libstagefright/CameraSource.cpp
+++ b/media/libstagefright/CameraSource.cpp
@@ -947,18 +947,18 @@ void CameraSource::dataCallbackTimestamp(int64_t timestampUs,
ALOGV("releaseQueuedFrames - #Queued Frames : %d", mFramesReceived.size());
releaseQueuedFrames();
}
- ALOGV("release One Video Frame for Pause : %lld us", timestampUs);
+ ALOGV("release One Video Frame for Pause : %" PRId64 "us", timestampUs);
releaseOneRecordingFrame(data);
mPauseEndTimeUs = timestampUs;
return;
}
timestampUs -= mPauseAdjTimeUs;
- ALOGV("dataCallbackTimestamp: AdjTimestamp %lld us", timestampUs);
+ ALOGV("dataCallbackTimestamp: AdjTimestamp %" PRId64 "us", timestampUs);
if (mNumFramesReceived > 0) {
if (timestampUs <= mLastFrameTimestampUs) {
- ALOGW("Dropping frame with backward timestamp %lld (last %lld)",
- (long long)timestampUs, (long long)mLastFrameTimestampUs);
+ ALOGW("Dropping frame with backward timestamp %" PRId64 " (last %" PRId64 ")",
+ timestampUs, mLastFrameTimestampUs);
releaseOneRecordingFrame(data);
return;
}