OSDN Git Service

Use setVideoSurface call on MIO when surface changes
authorDave Sparks <davidsparks@android.com>
Fri, 29 May 2009 01:40:49 +0000 (18:40 -0700)
committerDave Sparks <davidsparks@android.com>
Fri, 29 May 2009 01:40:49 +0000 (18:40 -0700)
android/playerdriver.cpp

index fcc9c6e..6cc4ef0 100644 (file)
@@ -756,7 +756,7 @@ void PlayerDriver::handleSetVideoSurface(PlayerSetVideoSurface* command)
         OSCL_FIRST_CATCH_ANY(error, commandFailed(command));
     } else {
         // change display surface
-        if (mVideoOutputMIO->set(mPvPlayer, command->surface(), mEmulation) == NO_ERROR) {
+        if (mVideoOutputMIO->setVideoSurface(command->surface()) == NO_ERROR) {
             FinishSyncCommand(command);
         } else {
             LOGE("Video MIO set failed");