diff options
author | Glenn Kasten <gkasten@google.com> | 2012-12-21 08:09:10 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-12-21 08:09:11 -0800 |
commit | 5570227ac334479982a9dd8c1647c00f58f47c18 (patch) | |
tree | 885046de88c68c9fc468fd02617af4cafc6a758b /cmds | |
parent | 00169223fb04a14ddb542146223540e3695c8d27 (diff) | |
parent | f37971f624164c3ed185d3f976404a6f60f49b9a (diff) | |
download | frameworks_av-5570227ac334479982a9dd8c1647c00f58f47c18.zip frameworks_av-5570227ac334479982a9dd8c1647c00f58f47c18.tar.gz frameworks_av-5570227ac334479982a9dd8c1647c00f58f47c18.tar.bz2 |
Merge "Remove unnecessary parameter"
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/stagefright/stagefright.cpp | 3 | ||||
-rw-r--r-- | cmds/stagefright/stream.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index 1002ac4..2b935ed 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -22,7 +22,6 @@ #include <stdlib.h> #include <string.h> -#include <unistd.h> #include "jpeg.h" #include "SineSource.h" @@ -821,7 +820,7 @@ int main(int argc, char **argv) { CHECK(service.get() != NULL); sp<IMediaMetadataRetriever> retriever = - service->createMetadataRetriever(getpid()); + service->createMetadataRetriever(); CHECK(retriever != NULL); diff --git a/cmds/stagefright/stream.cpp b/cmds/stagefright/stream.cpp index 7329dcc..af6afe0 100644 --- a/cmds/stagefright/stream.cpp +++ b/cmds/stagefright/stream.cpp @@ -370,7 +370,7 @@ int main(int argc, char **argv) { } sp<IMediaPlayer> player = - service->create(getpid(), client, 0); + service->create(client, 0); if (player != NULL && player->setDataSource(source) == NO_ERROR) { player->setVideoSurfaceTexture(surface->getSurfaceTexture()); |