summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright/record.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-10-23 09:55:10 -0700
committerAndreas Huber <andih@google.com>2009-10-23 09:55:10 -0700
commit66326a5ee0869f1ee4d136a477e6effba428b3cb (patch)
tree43af246f917acf425d889109d3aec8daec34ac75 /cmds/stagefright/record.cpp
parent47bed1a7755ed58fa5d4c0d35b20468deb83bd60 (diff)
downloadframeworks_av-66326a5ee0869f1ee4d136a477e6effba428b3cb.zip
frameworks_av-66326a5ee0869f1ee4d136a477e6effba428b3cb.tar.gz
frameworks_av-66326a5ee0869f1ee4d136a477e6effba428b3cb.tar.bz2
Moving the individual extractor headers files to the private include directory.
Diffstat (limited to 'cmds/stagefright/record.cpp')
-rw-r--r--cmds/stagefright/record.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds/stagefright/record.cpp b/cmds/stagefright/record.cpp
index 323d448..176dab0 100644
--- a/cmds/stagefright/record.cpp
+++ b/cmds/stagefright/record.cpp
@@ -23,7 +23,7 @@
#include <media/stagefright/MediaDebug.h>
#include <media/stagefright/MediaDefs.h>
#include <media/stagefright/MetaData.h>
-#include <media/stagefright/MPEG4Extractor.h>
+#include <media/stagefright/MediaExtractor.h>
#include <media/stagefright/MPEG4Writer.h>
#include <media/stagefright/MmapSource.h>
#include <media/stagefright/OMXClient.h>
@@ -88,8 +88,8 @@ private:
sp<MediaSource> createSource(const char *filename) {
sp<MediaSource> source;
- sp<MPEG4Extractor> extractor =
- new MPEG4Extractor(new MmapSource(filename));
+ sp<MediaExtractor> extractor =
+ MediaExtractor::Create(new MmapSource(filename));
size_t num_tracks = extractor->countTracks();