diff options
author | James Dong <jdong@google.com> | 2010-11-10 18:42:40 -0800 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-11-15 08:36:42 -0800 |
commit | 30d713a1c18a5ff892a7f13b2524ba624b70890a (patch) | |
tree | 372cbad6a783c5cb5d3c2091722cdc8943c7bc28 /media/libmediaplayerservice/MediaRecorderClient.cpp | |
parent | 2d71233de5450f1b128c8149fdbdf39b937f3cb8 (diff) | |
download | frameworks_av-30d713a1c18a5ff892a7f13b2524ba624b70890a.zip frameworks_av-30d713a1c18a5ff892a7f13b2524ba624b70890a.tar.gz frameworks_av-30d713a1c18a5ff892a7f13b2524ba624b70890a.tar.bz2 |
Remove legacy PV stuff
Change-Id: I60ffea7c65592df4b3a80c590c863f1f79b371fd
Diffstat (limited to 'media/libmediaplayerservice/MediaRecorderClient.cpp')
-rw-r--r-- | media/libmediaplayerservice/MediaRecorderClient.cpp | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/media/libmediaplayerservice/MediaRecorderClient.cpp b/media/libmediaplayerservice/MediaRecorderClient.cpp index be6a8be..1a1780c 100644 --- a/media/libmediaplayerservice/MediaRecorderClient.cpp +++ b/media/libmediaplayerservice/MediaRecorderClient.cpp @@ -31,10 +31,6 @@ #include <binder/MemoryHeapBase.h> #include <binder/MemoryBase.h> -#ifndef NO_OPENCORE -#include <media/PVMediaRecorder.h> -#endif - #include <utils/String16.h> #include <media/AudioTrack.h> @@ -304,22 +300,7 @@ MediaRecorderClient::MediaRecorderClient(const sp<MediaPlayerService>& service, { LOGV("Client constructor"); mPid = pid; - - char value[PROPERTY_VALUE_MAX]; - if (!property_get("media.stagefright.enable-record", value, NULL) - || !strcmp(value, "1") || !strcasecmp(value, "true")) { - mRecorder = new StagefrightRecorder; - } else -#ifndef NO_OPENCORE - { - mRecorder = new PVMediaRecorder(); - } -#else - { - mRecorder = NULL; - } -#endif - + mRecorder = new StagefrightRecorder; mMediaPlayerService = service; } |