From 225f4d2b175794100884b2ca5cecec1909fe9243 Mon Sep 17 00:00:00 2001 From: James Dong Date: Sun, 14 Nov 2010 10:57:28 -0800 Subject: Switch to use kKeyFrameRate for recordvideo utility Change-Id: I3f6abfed9c39223fe5c1a1b9c094b7ce8a8ca67f --- cmds/stagefright/recordvideo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/stagefright/recordvideo.cpp') diff --git a/cmds/stagefright/recordvideo.cpp b/cmds/stagefright/recordvideo.cpp index f8eb514f..12642153 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); -- cgit v1.2.3