GraphicBufferSource: Disable timestamp snapping by default
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Test: record slow-motion videos and play back
Bug: 139457775
Change-Id: I84f588fcedf5620033cc47ee0b4d0c9f02e04d47
diff --git a/media/libstagefright/bqhelper/GraphicBufferSource.cpp b/media/libstagefright/bqhelper/GraphicBufferSource.cpp
index 591b9e9..de9d12c 100644
--- a/media/libstagefright/bqhelper/GraphicBufferSource.cpp
+++ b/media/libstagefright/bqhelper/GraphicBufferSource.cpp
@@ -1382,7 +1382,7 @@
mCaptureFps = captureFps;
if (captureFps > fps) {
mSnapTimestamps = 1 == base::GetIntProperty(
- "debug.stagefright.snap_timestamps", int64_t(1));
+ "debug.stagefright.snap_timestamps", int64_t(0));
} else {
mSnapTimestamps = false;
}