diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2014-02-14 15:07:21 -0800 |
---|---|---|
committer | Ruben Brunk <rubenbrunk@google.com> | 2014-02-18 10:17:11 -0800 |
commit | 26cee964ab4e0a2bd6ae9ad199ba78ea9634421c (patch) | |
tree | abb228216bcc39023b4095278e3ec8eaa5be7641 /include | |
parent | 29182ee0515bd8dd56a22bc1d0c7cad7ca4cfd86 (diff) | |
download | frameworks_av-26cee964ab4e0a2bd6ae9ad199ba78ea9634421c.zip frameworks_av-26cee964ab4e0a2bd6ae9ad199ba78ea9634421c.tar.gz frameworks_av-26cee964ab4e0a2bd6ae9ad199ba78ea9634421c.tar.bz2 |
Handle recording failure more gracefully.
Bug: 13027666
Change-Id: Iec8239bfcd293c8f466b3780e69883b97f387949
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/CameraSource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/CameraSource.h b/include/media/stagefright/CameraSource.h index 69cfbd0..dd0a106 100644 --- a/include/media/stagefright/CameraSource.h +++ b/include/media/stagefright/CameraSource.h @@ -172,7 +172,7 @@ protected: const sp<IGraphicBufferProducer>& surface, bool storeMetaDataInVideoBuffers); - virtual void startCameraRecording(); + virtual status_t startCameraRecording(); virtual void releaseRecordingFrame(const sp<IMemory>& frame); // Returns true if need to skip the current frame. |