summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright/recordvideo.cpp
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-02-06 23:46:37 -0800
committerJames Dong <jdong@google.com>2012-02-10 11:43:09 -0800
commitf1d5aa162c02a16b7195a43a9bcea4d592600ac4 (patch)
treedc270a6e1a4ee6695e309eeb29c4d9ed7f3a20a2 /cmds/stagefright/recordvideo.cpp
parent43089daaf82bd2b8e5f9a29b80af5abaae4657b3 (diff)
downloadframeworks_av-f1d5aa162c02a16b7195a43a9bcea4d592600ac4.zip
frameworks_av-f1d5aa162c02a16b7195a43a9bcea4d592600ac4.tar.gz
frameworks_av-f1d5aa162c02a16b7195a43a9bcea4d592600ac4.tar.bz2
Move away from MediaDebug and use ADebug instead
Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
Diffstat (limited to 'cmds/stagefright/recordvideo.cpp')
-rw-r--r--cmds/stagefright/recordvideo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds/stagefright/recordvideo.cpp b/cmds/stagefright/recordvideo.cpp
index c402286..3bd1fe2 100644
--- a/cmds/stagefright/recordvideo.cpp
+++ b/cmds/stagefright/recordvideo.cpp
@@ -17,9 +17,9 @@
#include "SineSource.h"
#include <binder/ProcessState.h>
+#include <media/stagefright/foundation/ADebug.h>
#include <media/stagefright/AudioPlayer.h>
#include <media/stagefright/MediaBufferGroup.h>
-#include <media/stagefright/MediaDebug.h>
#include <media/stagefright/MediaDefs.h>
#include <media/stagefright/MetaData.h>
#include <media/stagefright/MPEG4Writer.h>
@@ -243,7 +243,7 @@ int main(int argc, char **argv) {
}
OMXClient client;
- CHECK_EQ(client.connect(), OK);
+ CHECK_EQ(client.connect(), (status_t)OK);
status_t err = OK;
sp<MediaSource> source =
@@ -283,7 +283,7 @@ int main(int argc, char **argv) {
sp<MPEG4Writer> writer = new MPEG4Writer(fileName);
writer->addSource(encoder);
int64_t start = systemTime();
- CHECK_EQ(OK, writer->start());
+ CHECK_EQ((status_t)OK, writer->start());
while (!writer->reachedEOS()) {
}
err = writer->stop();