summaryrefslogtreecommitdiffstats
path: root/cmds
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
commit57515f334bcc1f66f95e342bfcaa13bf9ca802ad (patch)
tree6813dcb5c024e8198eeed71a5ed8afa954e2a477 /cmds
parentad28543022101d0b01845e3f53dcd57e524816ef (diff)
downloadframeworks_base-57515f334bcc1f66f95e342bfcaa13bf9ca802ad.zip
frameworks_base-57515f334bcc1f66f95e342bfcaa13bf9ca802ad.tar.gz
frameworks_base-57515f334bcc1f66f95e342bfcaa13bf9ca802ad.tar.bz2
Moving the individual extractor headers files to the private include directory.
Diffstat (limited to 'cmds')
-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();