Add setParameter/getParameter to MediaPlayer API
for bug 1982947

Change-Id: Ic32704367bdcf2ade3f035a164927e95c69af7fa
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 @@
     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 @@
     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);