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
commit75611c8a97e93105f13e22c242ffd2f9672f87c7 (patch)
tree4ab3461e5f0c4b780bd6ac70f8dc16676fbc0d68 /cmds
parent6e1a56d6c8304f24bfda17adc81022e2463d9a42 (diff)
downloadframeworks_base-75611c8a97e93105f13e22c242ffd2f9672f87c7.zip
frameworks_base-75611c8a97e93105f13e22c242ffd2f9672f87c7.tar.gz
frameworks_base-75611c8a97e93105f13e22c242ffd2f9672f87c7.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);