OSDN Git Service

CTS camera: Set camrecorder framerate to 24
authorbohu <bohu@google.com>
Tue, 16 Aug 2016 00:30:36 +0000 (17:30 -0700)
committerBjoern Johansson <bjoernj@google.com>
Wed, 11 Jan 2017 21:03:23 +0000 (13:03 -0800)
As requred by CTS, 24 is the minimum.
This fixes the following two cases:
android.hardware.camera2.cts.RecordingTest#testBasicRecording
android.hardware.camera2.cts.RecordingTest#testRecordingFromPersistentSurface

Bug: 30034008
Test: ran camera CTS tests
Change-Id: Iadd340c30eab5f449834958f83561201810e86ad
(cherry picked from commit 075f1aa4544d2f3512c8612bd607107772228d38)

camera/media_profiles.xml

index 57d68ab..a5970d0 100644 (file)
@@ -84,7 +84,7 @@
                    bitRate="128000"
                    width="320"
                    height="240"
-                   frameRate="15" />
+                   frameRate="24" />
             <Audio codec="amrnb"
                    bitRate="12200"
                    sampleRate="8000"