diff options
author | Chong Zhang <chz@google.com> | 2014-02-25 21:56:07 -0800 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2014-02-26 10:44:51 -0800 |
commit | 1a5690652f3f6ee40f15c2f9f6c4b6badf4dbcf5 (patch) | |
tree | 2bfbca1610aa0124277262905ae7eb6bb171a2e1 /media/libmediaplayerservice/StagefrightRecorder.h | |
parent | 882469cfe767188a4c67d2d83f3d72ab553a4818 (diff) | |
download | frameworks_av-1a5690652f3f6ee40f15c2f9f6c4b6badf4dbcf5.zip frameworks_av-1a5690652f3f6ee40f15c2f9f6c4b6badf4dbcf5.tar.gz frameworks_av-1a5690652f3f6ee40f15c2f9f6c4b6badf4dbcf5.tar.bz2 |
initialize encoder at start() time for camera source
Bug: 13156212
Change-Id: I845ef51f662f04c50179dbfb128204922a424e1d
Diffstat (limited to 'media/libmediaplayerservice/StagefrightRecorder.h')
-rw-r--r-- | media/libmediaplayerservice/StagefrightRecorder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/StagefrightRecorder.h b/media/libmediaplayerservice/StagefrightRecorder.h index 7d6abd3..377d168 100644 --- a/media/libmediaplayerservice/StagefrightRecorder.h +++ b/media/libmediaplayerservice/StagefrightRecorder.h @@ -127,6 +127,7 @@ private: sp<IGraphicBufferProducer> mGraphicBufferProducer; sp<ALooper> mLooper; + status_t prepareInternal(); status_t setupMPEG4Recording(); void setupMPEG4MetaData(sp<MetaData> *meta); status_t setupAMRRecording(); |