summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-11-14 10:57:28 -0800
committerJames Dong <jdong@google.com>2010-11-14 10:57:28 -0800
commit225f4d2b175794100884b2ca5cecec1909fe9243 (patch)
treea7e4a70649c4eefad10741198036117a16ecd2b2 /cmds
parent2d71233de5450f1b128c8149fdbdf39b937f3cb8 (diff)
downloadframeworks_av-225f4d2b175794100884b2ca5cecec1909fe9243.zip
frameworks_av-225f4d2b175794100884b2ca5cecec1909fe9243.tar.gz
frameworks_av-225f4d2b175794100884b2ca5cecec1909fe9243.tar.bz2
Switch to use kKeyFrameRate for recordvideo utility
Change-Id: I3f6abfed9c39223fe5c1a1b9c094b7ce8a8ca67f
Diffstat (limited to 'cmds')
-rw-r--r--cmds/stagefright/recordvideo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/stagefright/recordvideo.cpp b/cmds/stagefright/recordvideo.cpp
index f8eb514..1264215 100644
--- a/cmds/stagefright/recordvideo.cpp
+++ b/cmds/stagefright/recordvideo.cpp
@@ -264,7 +264,7 @@ int main(int argc, char **argv) {
}
enc_meta->setInt32(kKeyWidth, width);
enc_meta->setInt32(kKeyHeight, height);
- enc_meta->setInt32(kKeySampleRate, frameRateFps);
+ enc_meta->setInt32(kKeyFrameRate, frameRateFps);
enc_meta->setInt32(kKeyBitRate, bitRateBps);
enc_meta->setInt32(kKeyStride, width);
enc_meta->setInt32(kKeySliceHeight, height);