diff options
author | Gloria Wang <gwang@google.com> | 2011-04-25 17:29:16 -0700 |
---|---|---|
committer | Gloria Wang <gwang@google.com> | 2011-04-29 09:38:53 -0700 |
commit | acb62af8ccf493b38decd91d94eb18395b6f9461 (patch) | |
tree | 419fdab44ec0de50f1c671e37e5248954a0531ea /libvideoeditor/lvpp | |
parent | 6859837b0bdea82be855ab50bd69c5ac9b62acf2 (diff) | |
download | frameworks_av-acb62af8ccf493b38decd91d94eb18395b6f9461.zip frameworks_av-acb62af8ccf493b38decd91d94eb18395b6f9461.tar.gz frameworks_av-acb62af8ccf493b38decd91d94eb18395b6f9461.tar.bz2 |
Add setParameter/getParameter to MediaPlayer API
for bug 1982947
Change-Id: Ic32704367bdcf2ade3f035a164927e95c69af7fa
Diffstat (limited to 'libvideoeditor/lvpp')
-rwxr-xr-x | libvideoeditor/lvpp/VideoEditorPlayer.cpp | 10 | ||||
-rwxr-xr-x | libvideoeditor/lvpp/VideoEditorPlayer.h | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorPlayer.cpp b/libvideoeditor/lvpp/VideoEditorPlayer.cpp index 2ca7996..d8ec3be 100755 --- a/libvideoeditor/lvpp/VideoEditorPlayer.cpp +++ b/libvideoeditor/lvpp/VideoEditorPlayer.cpp @@ -159,6 +159,16 @@ status_t VideoEditorPlayer::setLooping(int loop) { return mPlayer->setLooping(loop);
}
+status_t VideoEditorPlayer::setParameter(int key, const Parcel &request) { + LOGV("setParameter"); + return mPlayer->setParameter(key, request); +} + +status_t VideoEditorPlayer::getParameter(int key, Parcel *reply) { + LOGV("getParameter"); + return mPlayer->getParameter(key, reply); +} + player_type VideoEditorPlayer::playerType() {
LOGV("playerType");
return STAGEFRIGHT_PLAYER;
diff --git a/libvideoeditor/lvpp/VideoEditorPlayer.h b/libvideoeditor/lvpp/VideoEditorPlayer.h index 0b8a992..349f7fd 100755 --- a/libvideoeditor/lvpp/VideoEditorPlayer.h +++ b/libvideoeditor/lvpp/VideoEditorPlayer.h @@ -117,6 +117,8 @@ public: virtual status_t resume(); virtual void acquireLock(); virtual void releaseLock();
+ virtual status_t setParameter(int key, const Parcel &request); + virtual status_t getParameter(int key, Parcel *reply); virtual status_t getMetadata(
const media::Metadata::Filter& ids, Parcel *records);
|