From def8e876a5509fc41a58c1d617b05566376d3453 Mon Sep 17 00:00:00 2001 From: APTX4869 Date: Sun, 27 Apr 2014 18:44:31 +0800 Subject: [PATCH] extend the screenrecoder recode time try to extend the screenrecoder recode time to 10minutes. --- .../android_media_ScreenRecorder_ScreenRecorderImpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media/jni/screenrecorder/android_media_ScreenRecorder_ScreenRecorderImpl.cpp b/media/jni/screenrecorder/android_media_ScreenRecorder_ScreenRecorderImpl.cpp index a870a34fb957..0bb46a118f56 100644 --- a/media/jni/screenrecorder/android_media_ScreenRecorder_ScreenRecorderImpl.cpp +++ b/media/jni/screenrecorder/android_media_ScreenRecorder_ScreenRecorderImpl.cpp @@ -63,7 +63,8 @@ static const char* const kClassPathName = "android/media/screenrecorder/ScreenRe static const uint32_t kMinBitRate = 100000; // 0.1Mbps static const uint32_t kMaxBitRate = 100 * 1000000; // 100Mbps -static const uint32_t kMaxTimeLimitSec = 300; // 5 minutes +//static const uint32_t kMaxTimeLimitSec = 300; // 5 minutes +static const uint32_t kMaxTimeLimitSec = 600; // try to extend the screenrecoder recode time static const uint32_t kFallbackWidth = 1280; // 720p static const uint32_t kFallbackHeight = 720; // Audio related