From d69b23ad0b5a237fba74296ca5da996559855ea9 Mon Sep 17 00:00:00 2001 From: Arne Coucheron Date: Sat, 5 Nov 2011 20:10:36 +0100 Subject: [PATCH] click: Increase video recording resolution Also raise minSampleRate to 16000 for AAC audio, to bypass a recent bug causing audio to only be recorded in 8000Hz. Change-Id: I9100a751e7dafe6bbe2df789a08d2b85b3ae3c72 --- libcamera/QualcommCameraHardware.cpp | 1 + media_profiles.xml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/libcamera/QualcommCameraHardware.cpp b/libcamera/QualcommCameraHardware.cpp index f6def53..d4e5d16 100644 --- a/libcamera/QualcommCameraHardware.cpp +++ b/libcamera/QualcommCameraHardware.cpp @@ -97,6 +97,7 @@ struct preview_size_type { static preview_size_type preview_sizes[] = { { 480, 320 }, // HVGA { 432, 320 }, // 1.35-to-1, for photos. (Rounded up from 1.3333 to 1) + { 384, 288 }, // 4:3 { 352, 288 }, // CIF { 336, 244 }, { 320, 320 }, diff --git a/media_profiles.xml b/media_profiles.xml index a017e1e..9ca653d 100644 --- a/media_profiles.xml +++ b/media_profiles.xml @@ -82,9 +82,9 @@